Skip to content
Myr

Removed dump(); just use p()

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

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

  • other:+1 added−11 removed

1 file+1 added−11 removed

modified:lib/express.core.js+1 added-11 removed
212 unmodified lines
213 return body.toString().match(/^[^\{]*{((.*\n*)*)}/m)[1]214 },215 216 /**217 * Dump _object_.218 *219 * @param {mixed} object220 * @api public221 */222 223 dump : function(object) {224 puts(JSON.stringify(object))225 },226 227 /**217 * Eval _string_ in context of Express.218 *219 * @param {string} string220 * @return {mixed}
128 unmodified lines
349 return param('op') + ' user "' + (param('name') || 'none') + '"'350})351352get (/admin\/(system|reports)/, function(){353 p(captures)354 return captures[1]355})356357Express.start()