Skip to content
Myr

Misc refactoring to Request#trigger()

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

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

  • other:+1 added−2 removed

1 file+1 added−2 removed

modified:lib/express/request.js+1 added-2 removed
286 unmodified lines
287 if (data instanceof Function)288 reverse = callback,289 callback = data,290 data = null291 data = data || {}292 data.merge({ request: this, response: this.response })291 data = { request: this, response: this.response }.merge(data)292 var self = this,293 complete = 0,294 total = this.plugins.length,295 plugins = reverse
94 unmodified lines