can-route
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "can-route", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "A simple regexp router that runs inside a `http.createServer` handler and returns false when it can’t route a request.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -39,6 +39,5 @@ var named = require('named-regexp').named | ||
href.substr(href.indexOf(req.pathname)) : | ||
href.pathname | ||
req.pathname | ||
) | ||
} | ||
var routes = this.routes | ||
@@ -45,0 +44,0 @@ var routeable = false |
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
8718