Permalink
Browse files

minor

  • Loading branch information...
1 parent ef072f7 commit 363faacbf9860539fc60553449f58fa878df40ce @nrstott committed Feb 6, 2013
Showing with 4 additions and 6 deletions.
  1. +4 −6 lib/router.js
View
@@ -178,14 +178,12 @@ Router.prototype.handler = function(verb, path) {
};
Router.prototype.respond = function(reqPromise) {
- var
- self = this;
+ var self = this;
return when(reqPromise, function(req) {
- var
- route = self.handler(req.method, req.pathInfo),
- routeParams = {},
- routeParamValues = null;
+ var route = self.handler(req.method, req.pathInfo)
+ , routeParams = {}
+ , routeParamValues = null;
if (util.no(route)) {
return null;

0 comments on commit 363faac

Please sign in to comment.