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:
Robin Ward
2019-10-23 12:55:11 -04:00
parent 0b37a3c235
commit e18af18fec
3 changed files with 6 additions and 2 deletions

View File

@ -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 }
};
}