DEV: Don't allow Promise unless imported from "rsvp"

We want to make sure we are using the correct promise implementation so
let's lint out the browser version.
This commit is contained in:
Robin Ward
2019-11-20 15:18:37 -05:00
parent 9799a651b6
commit d7ae052efe
7 changed files with 16 additions and 11 deletions

View File

@ -84,6 +84,7 @@ var define, requirejs;
},
rsvp: {
default: Ember.RSVP,
EventTarget: Ember.RSVP,
Promise: Ember.RSVP.Promise,
hash: Ember.RSVP.hash,
all: Ember.RSVP.all