Skip to content
Myr

Misc

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

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

  • other:+12 added−12 removed

1 file+12 added−12 removed

modified:lib/express.core.js+12 added-12 removed
223 unmodified lines
224 puts(JSON.stringify(object))225 },226 227 /**228 * Eval _string_ in context of Express.229 *230 * @param {string} string231 * @return {mixed}232 * @api public233 */234 235 eval : function(string) {236 return eval('function(){ with (Express){' + string + '}}')237 },238 239 /**240 * Escape special characters in _html_.241 *242 * @param {string} html243 * @return {string}
40 unmodified lines
284 return this.eval(Express.contentsOf(route.callback))()285 },286 287 /**276 * Eval _string_ in context of Express.277 *278 * @param {string} string279 * @return {mixed}280 * @api public281 */282 283 eval : function(string) {284 return eval('function(){ with (Express){' + string + '}}')285 },286 287 /**288 * Attemp to find and return a route matching _request_.289 *290 * @param {object} request291 * @return {object}
70 unmodified lines