mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-04 11:10:04 -04:00
We don't need an empty app-events file.
This commit is contained in:
parent
49ae01ddea
commit
f0da4bf632
2 changed files with 1 additions and 3 deletions
app/assets/javascripts/discourse
|
@ -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…
Add table
Reference in a new issue