Skip to content

Commit

Permalink
Merge pull request GoogleChromeLabs#69 from GoogleChrome/lint-fix
Browse files Browse the repository at this point in the history
Fixing a lint error
  • Loading branch information
wibblymat committed Jan 6, 2016
2 parents f04c671 + 7cf5040 commit 28b5f78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ var Route = function(method, path, handler, options) {
};

Route.prototype.makeHandler = function(url) {
var values;
if (this.regexp) {
var match = this.regexp.exec(url);
var values = {};
values = {};
this.keys.forEach(function(key, index) {
values[key.name] = match[index + 1];
});
Expand Down

0 comments on commit 28b5f78

Please sign in to comment.