Skip to content
Myr

Merge pull request #1062 from shtylman/06d2016ee

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

remove unused variable

authored by TJ Holowaychuk · committed by TJ Holowaychuk · parents 984bfad, 06d2016 · 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