node-pluggable
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -16,3 +16,3 @@ var EventEmitter, Pluggable, _, async, | ||
function Pluggable() { | ||
this.container = []; | ||
return Pluggable.__super__.constructor.apply(this, arguments); | ||
} | ||
@@ -35,2 +35,5 @@ | ||
} | ||
if (_.isUndefined(this.container)) { | ||
this.container = []; | ||
} | ||
for (i = 0, len = fns.length; i < len; i++) { | ||
@@ -37,0 +40,0 @@ fn = fns[i]; |
{ | ||
"name": "node-pluggable", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Add your Hook more easily.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/pluggable.js", |
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
6294
85