mirror of
https://github.com/vale981/event-pubsub
synced 2025-03-04 17:11:38 -05:00
fix for off *,*
This commit is contained in:
parent
081dcafd18
commit
8e866e6508
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ window.pubsub=(
|
|||
i++
|
||||
){
|
||||
params.unshift(keys[i]);
|
||||
this.off.call(params);
|
||||
this.off.apply(this,params);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ function unsub(type,handler){
|
|||
i++
|
||||
){
|
||||
params.unshift(keys[i]);
|
||||
this.off.call(params);
|
||||
this.off.apply(this,params);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue