We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e86da10 commit f71eecbCopy full SHA for f71eecb
packages/ember-application/lib/system/application-instance.js
@@ -198,7 +198,7 @@ export default EmberObject.extend({
198
@private
199
*/
200
setupEventDispatcher() {
201
- var dispatcher = this.lookup('event_dispatcher:main');
+ var dispatcher = this.container.lookup('event_dispatcher:main');
202
var applicationCustomEvents = get(this.application, 'customEvents');
203
204
dispatcher.setup(applicationCustomEvents, this.rootElement);
0 commit comments