fix: EventEmitter mixin wasn't forwarding args
This commit is contained in:
parent
6ab1c36980
commit
4c8956457f
|
@ -9,8 +9,8 @@ export function EventEmitterMixin(Superclass) {
|
|||
|
||||
return class EventEmitter extends Superclass {
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
constructor(...args) {
|
||||
super(...args);
|
||||
this.events = {};
|
||||
this.namespaces = {};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user