Skip to content
Myr

remove unused variable from Router.route

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Roman Shtylman · committed by Roman Shtylman · parent 984bfad · Browse files · 1 file+1 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−2 removed

  • other:+1 added−2 removed

1 file+1 added−2 removed

modified:lib/router/index.js+1 added-2 removed
398 unmodified lines
399 * @api private400 */401402Router.prototype.route = function(method, path, callbacks){403 var app = this.app404 , method = method.toLowerCase()403 var method = method.toLowerCase()404 , callbacks = utils.flatten([].slice.call(arguments, 2));405406 // ensure path was given407 if (!path) throw new Error('Router#' + method + '() requires a path');
13 unmodified lines