Merge pull request #8 from whdahl/master

fixes #7
This commit is contained in:
Brandon Nozaki Miller 2016-10-05 18:11:07 -07:00 committed by GitHub
commit 07262a784a
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;