fix for off *,*

This commit is contained in:
SSMP 2016-08-12 15:08:22 -07:00
parent 081dcafd18
commit 8e866e6508
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ window.pubsub=(
i++ i++
){ ){
params.unshift(keys[i]); params.unshift(keys[i]);
this.off.call(params); this.off.apply(this,params);
} }
} }

View file

@ -29,7 +29,7 @@ function unsub(type,handler){
i++ i++
){ ){
params.unshift(keys[i]); params.unshift(keys[i]);
this.off.call(params); this.off.apply(this,params);
} }
} }