mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 17:51:03 +08:00
Support and examples for Ember.Object
and Ember.Controller
imports
We should stop using global variables and instead import these as needed.
This commit is contained in:
@ -6,6 +6,8 @@ var define, requirejs;
|
||||
if (typeof Ember !== "undefined") {
|
||||
EMBER_MODULES = {
|
||||
"@ember/component": { default: Ember.Component },
|
||||
"@ember/controller": { default: Ember.Controller },
|
||||
"@ember/object": { default: Ember.Object },
|
||||
"@ember/routing/route": { default: Ember.Route }
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user