mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 05:52:38 +08:00
We don't need an empty app-events file.
This commit is contained in:
parent
49ae01ddea
commit
f0da4bf632
@ -1,8 +1,7 @@
|
||||
import AppEvents from 'discourse/lib/app-events';
|
||||
|
||||
export default {
|
||||
name: "inject-app-events",
|
||||
initialize: function(container, application) {
|
||||
var AppEvents = Ember.Object.extend(Ember.Evented);
|
||||
application.register('app-events:main', AppEvents, { singleton: true });
|
||||
|
||||
application.inject('controller', 'appEvents', 'app-events:main');
|
||||
|
@ -1 +0,0 @@
|
||||
export default Ember.Object.extend(Ember.Evented);
|
Loading…
x
Reference in New Issue
Block a user