Skip to content
Myr

Merge pull request #951 from Raynos/patch-1

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

Gave the router a name.

authored by TJ Holowaychuk · committed by TJ Holowaychuk · parents 613bdc9, fa088e3 · 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
11/*!2 * Express - Router3 * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca>4 * MIT Licensed
36 unmodified lines
41 this._params = [];42 this.caseSensitive = options.caseSensitive;43 this.strict = options.strict;4446 this.middleware = function(req, res, next){45 this.middleware = function router(req, res, next){46 self._dispatch(req, res, next);47 };48}49
367 unmodified lines