mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 07:24:26 +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 {
|
export default {
|
||||||
name: "inject-app-events",
|
name: "inject-app-events",
|
||||||
initialize: function(container, application) {
|
initialize: function(container, application) {
|
||||||
|
var AppEvents = Ember.Object.extend(Ember.Evented);
|
||||||
application.register('app-events:main', AppEvents, { singleton: true });
|
application.register('app-events:main', AppEvents, { singleton: true });
|
||||||
|
|
||||||
application.inject('controller', 'appEvents', 'app-events:main');
|
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