mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user