mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
REVERT: Fix to app-events to make events not global
This commit is contained in:
@@ -3,10 +3,7 @@ import Evented from "@ember/object/evented";
|
||||
import Service from "@ember/service";
|
||||
|
||||
export default Service.extend(Evented, {
|
||||
init() {
|
||||
this._super(...arguments);
|
||||
this._events = {};
|
||||
},
|
||||
_events: {},
|
||||
|
||||
on() {
|
||||
if (arguments.length === 2) {
|
||||
|
||||
Reference in New Issue
Block a user