This commit is contained in:
Hunter 2016-10-05 18:08:05 -07:00
parent 78eb2e95fb
commit 81a525b1b4
2 changed files with 2 additions and 2 deletions

2
es6.js
View file

@ -75,7 +75,7 @@ class EventPubSub {
const catchAll=this._events_['*'];
for(let handler of catchAll){
handler.apply(this, args);
handler.apply(this, type, args);
}
return this;

View file

@ -75,7 +75,7 @@ window.EventPubSub=class EventPubSub {
const catchAll=this._events_['*'];
for(let handler of catchAll){
handler.apply(this, args);
handler.apply(this, type, args);
}
return this;