Comparing version 0.1.0 to 0.1.1
@@ -137,1 +137,7 @@ /* | ||
}; | ||
Tapable.prototype.apply = function apply() { | ||
for(var i = 0; i < arguments.length; i++) { | ||
arguments[i].apply(this); | ||
} | ||
}; |
{ | ||
"name": "tapable", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -5,0 +5,0 @@ "description": "Just a little module for plugins.", |
@@ -38,2 +38,8 @@ # Tapable | ||
``` javascript | ||
void apply(plugins: Plugin...) | ||
``` | ||
Attaches all plugins passed as arguments to the instance, by calling `apply` on them. | ||
``` javascript | ||
void plugin(name: string, handler: Function) | ||
@@ -40,0 +46,0 @@ ``` |
@@ -0,1 +1,5 @@ | ||
/* | ||
MIT License http://www.opensource.org/licenses/mit-license.php | ||
Author Tobias Koppers @sokra | ||
*/ | ||
var Tapable = require("../lib/Tapable"); | ||
@@ -2,0 +6,0 @@ var should = require("should"); |
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
12532
266
118