Skip to content
Myr

removed old app.locals()

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

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 02f48aa · Browse files · 1 file+0 added−15 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+0 added−15 removed

  • other:+0 added−15 removed

1 file+0 added−15 removed

modified:lib/application.js-15 removed
258 unmodified lines
259 return this;260};261262/**263 * Map the given param placeholder `name`(s) to the given callback `fn`.264 * Register the given view helpers `obj`. This method265 * can be called several times to apply additional helpers.266 *267 * @param {Object} obj268 * @return {Server} for chaining269 * @api public270 */271272app.locals = function(obj){273 utils.merge(this._locals, obj);274 return this;275};276277/**263 * Map the given param placeholder `name`(s) to the given callback(s).264 *265 * Param mapping is used to provide pre-conditions to routes266 * which us normalized placeholders. This callback has the same
313 unmodified lines