Comparing version 1.0.7 to 1.0.8
@@ -192,7 +192,7 @@ /* | ||
throw new Error("unuse: invalid number of arguments") | ||
if (this._latching_plugins[id] === undefined) | ||
if (this._latching_plugin[id] === undefined) | ||
throw new Error("unuse: no such plugin found") | ||
/* give plugin a chance to react */ | ||
var plugin = this._latching_plugins[id].plugin | ||
var plugin = this._latching_plugin[id].plugin | ||
if (typeof plugin.unuse === "function") | ||
@@ -202,4 +202,4 @@ plugin.unuse(this) | ||
/* detach plugin */ | ||
this._latching_plugins[id].plugin = null | ||
delete this._latching_plugins[id] | ||
this._latching_plugin[id].plugin = null | ||
delete this._latching_plugin[id] | ||
@@ -206,0 +206,0 @@ return this |
{ | ||
"name": "latching", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Run-Time Hook Latching", | ||
@@ -5,0 +5,0 @@ "keywords": [ "hook", "latch" ], |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25323