fix: EventEmitter mixin wasn't forwarding args

This commit is contained in:
cha0s 2019-03-23 18:26:07 -05:00
parent 6ab1c36980
commit 4c8956457f

View File

@ -9,8 +9,8 @@ export function EventEmitterMixin(Superclass) {
return class EventEmitter extends Superclass {
constructor() {
super();
constructor(...args) {
super(...args);
this.events = {};
this.namespaces = {};
}