Skip to content
Myr

Plugin instances are request specific

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

authored by visionmedia · committed by visionmedia · parent d0dae12 · Browse files · 3 files+6 added−3 removed
This commit

State

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

Diff stats

3 files+6 added−3 removed

  • other:+6 added−3 removed

3 files+6 added−3 removed

modified:examples/app.js+1 added-1 removed
modified:lib/express/core.js+3 added
236 unmodified lines
237 238 route: function(request, response){239 var body 240 response.headers = {}, request.params = {}241 request.plugins = $(Express.plugins).map(function(plugin){242 return new plugin.klass(plugin.options) 243 })244 this.request = request, this.response = response245 this.request.uri.path = normalizePath(request.uri.path)246 this.request.uri.params = parseNestedParams(request.uri.params)247 this.request.uri.post =
54 unmodified lines
modified:lib/express/plugin.js+2 added-2 removed