Comparing version 1.2.0 to 1.3.0
12
index.js
@@ -91,2 +91,14 @@ 'use strict'; | ||
/** | ||
* Clear the midleware. | ||
* | ||
* @return {Object} self | ||
* @api public | ||
*/ | ||
w.clear = function () { | ||
this.fns.length = 0; | ||
return this; | ||
}; | ||
/** | ||
* Create a context. | ||
@@ -93,0 +105,0 @@ * |
{ | ||
"name": "co-ware", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Ware inspired, easily create your own middleware layer using generators via co.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -74,2 +74,6 @@ # co-ware [![Build Status](https://travis-ci.org/fundon/co-ware.svg)](https://travis-ci.org/fundon/co-ware) | ||
#### .clear() | ||
Clear the middleware. | ||
### License | ||
@@ -76,0 +80,0 @@ |
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
9850
252
84