Skip to content
Myr

Removed old comments

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

authored by visionmedia · committed by visionmedia · parent e4350c6 · Browse files · 1 file+1 added−8 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−8 removed

  • other:+1 added−8 removed

1 file+1 added−8 removed

modified:lib/express.core.js+1 added-8 removed
205 unmodified lines
206 * @api public207 */208 209 callRouteFor : function(request) {210 // method GET211 // uri.directory212 // uri.path213 // uri.relative214 // uri.source215 // uri.params216 // headers [[foo, bar]]210 var route = this.findRouteFor(request) || this.defaultRoute211 return eval('function(){ with (Express){' + Express.contentsOf(route.callback) + '}}')()212 },213
20 unmodified lines
234 * @api public235 */236 237 routeMatches : function(route, request) {245 if (route.method != request.method.toLowerCase()) return false238 if (route.method.toUpperCase() != request.method) return false239 switch (route.path.constructor) {240 case String: return route.path == request.uri.path241 case RegExp: 242 if (captures = request.uri.path.match(route.path))
43 unmodified lines