Comparing version 0.9.3 to 0.9.4
{ | ||
"name": "latching", | ||
"version": "0.9.3", | ||
"version": "0.9.4", | ||
"description": "Run-Time Hook Latching", | ||
@@ -5,0 +5,0 @@ "main": "lib/latching.js", |
@@ -49,9 +49,9 @@ /* | ||
if (arguments.length !== 3) | ||
throw new Error("processor: invalid number of arguments") | ||
throw new Error("proc: invalid number of arguments") | ||
if (typeof name !== "string") | ||
throw new Error("processor: invalid name argument (has to be string)") | ||
throw new Error("proc: invalid name argument (has to be string)") | ||
if (typeof init !== "function") | ||
throw new Error("processor: invalid init argument (has to be function)") | ||
throw new Error("proc: invalid init argument (has to be function)") | ||
if (typeof step !== "function") | ||
throw new Error("processor: invalid step argument (has to be function)") | ||
throw new Error("proc: invalid step argument (has to be function)") | ||
this._proc[name] = { init: init, step: step } | ||
@@ -58,0 +58,0 @@ return this |
{ | ||
"name": "latching", | ||
"version": "0.9.3", | ||
"version": "0.9.4", | ||
"description": "Run-Time Hook Latching", | ||
@@ -22,8 +22,8 @@ "keywords": [ "hook", "latch" ], | ||
"grunt-cli": "~0.1.13", | ||
"grunt-contrib-jshint": "~0.11.2", | ||
"grunt-contrib-clean": "~0.6.0", | ||
"grunt-contrib-jshint": "~0.11.3", | ||
"grunt-contrib-clean": "~0.7.0", | ||
"grunt-mocha-test": "~0.12.7", | ||
"mocha": "~2.2.5", | ||
"chai": "~3.2.0" | ||
"mocha": "~2.3.4", | ||
"chai": "~3.4.1" | ||
} | ||
} |
22610