invalid var name fix

This commit is contained in:
SSMP 2016-08-12 15:03:16 -07:00
parent d83e5a6db8
commit 081dcafd18
3 changed files with 3 additions and 3 deletions

View file

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

View file

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

View file

@ -1,6 +1,6 @@
{ {
"name": "event-pubsub", "name": "event-pubsub",
"version": "2.1.0", "version": "2.1.1",
"description": "Pubsub events for Node and the browser allowing event scoping and multiple scopes. Easy for any developer level. No frills, just high speed pubsub events!", "description": "Pubsub events for Node and the browser allowing event scoping and multiple scopes. Easy for any developer level. No frills, just high speed pubsub events!",
"main": "event-pubsub.js", "main": "event-pubsub.js",
"directories": { "directories": {