Comparing version 1.0.3 to 1.0.4
@@ -42,3 +42,3 @@ (function () { | ||
} else if (typeof(route) === 'object') { | ||
throw new Exceptin("RegExp as function has been depricated as of Node.js 0.5"); | ||
throw "RegExp as function has been depricated as of Node.js 0.5"; | ||
} else { | ||
@@ -74,3 +74,6 @@ if ((typeof(route) === 'string') && path.match(route)) { | ||
this.emit('run.fatal', error); | ||
this.next(); | ||
} | ||
} else { | ||
this.next(); | ||
} | ||
@@ -77,0 +80,0 @@ }; |
@@ -5,3 +5,3 @@ { | ||
"description": "Bricks Application Server", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"homepage": "http://bricksjs.com/", | ||
@@ -8,0 +8,0 @@ "preferGlobal": "true", |
@@ -89,5 +89,5 @@ var vows = require('vows'), | ||
appserver.addRoute(".+", function (request, response, options) { | ||
thisp.callback(undefined, request, response, options); | ||
}); | ||
// appserver.addRoute(".+", function (request, response, options) { | ||
// thisp.callback(undefined, request, response, options); | ||
// }); | ||
setTimeout(function() { thisp.callback('callback not fired'); }, 50); | ||
@@ -94,0 +94,0 @@ var res = new mresponse.response(); |
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
42752
14
847