koa-trie-router
Advanced tools
Comparing version 1.0.4 to 1.0.5
1.0.5 / 2014-01-11 | ||
================== | ||
* pass noop as `next` to avoid errors | ||
1.0.4 / 2014-01-11 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -35,4 +35,6 @@ var Router = require('./router') | ||
this.params = this.request.params = match.param | ||
yield* gen.call(this) | ||
yield* gen.call(this, noop) | ||
} | ||
} | ||
function* noop() {} |
{ | ||
"name": "koa-trie-router", | ||
"description": "Trie-routing for Koa", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Jonathan Ong", |
@@ -108,2 +108,8 @@ # Koa Trie Router [![Build Status](https://travis-ci.org/koajs/trie-router.png)](https://travis-ci.org/koajs/trie-router) | ||
## Usage | ||
In `trie-router`, routes are orthogonal and strict. Unlike regexp routing, there's no wildcard routing and you can't `next` to the next matching route. | ||
## License | ||
@@ -110,0 +116,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
9491
136