Skip to content
Myr

Removed eval

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

authored by visionmedia · committed by visionmedia · parent 15efc34 · Browse files · 2 files+1 added−18 removed
This commit

State

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

Diff stats

2 files+1 added−18 removed

  • tests:+0 added−14 removed
  • other:+1 added−4 removed

2 files+1 added−18 removed

modified:lib/express/core.js+1 added-4 removed
23 unmodified lines
24 this.path = pathToRegexp(normalizePath(path))25 this.fn = fn26 },27 run: function(){28 return process29 .compile('with(Express.helpers){ (' + this.fn + ')() }',30 this.method + '(' + jsonEncode(this.originalPath) + ')')28 return this.fn()29 }30})3132// --- Router
79 unmodified lines
112113Express = { 114 version: '0.0.1',115 routes: [],118 helpers: {},116 settings: {},117 server: new Server118}119
140 unmodified lines
modified:spec/spec.core.routing.js-14 removed