Skip to content
Myr

docs

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 4c316ba · Browse files · 1 file+2 added−0 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+2 added−0 removed

  • other:+2 added−0 removed

1 file+2 added−0 removed

modified:lib/application.js+2 added
84 unmodified lines
85 // implicit middleware86 this.use(connect.query());87 this.use(middleware.init(this));8889 // app locals90 this.locals = function(obj){91 for (var key in obj) self.locals[key] = obj[key];92 return self;93 };9495 // response locals96 this.locals.use = function(fn){97 if (3 == fn.length) {98 self.viewCallbacks.push(fn);99 } else {
492 unmodified lines