Skip to content
Myr

Hooks (before / after) pass request as arg

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

To prevent confusion with the value of "this", either will work

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

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:lib/express/plugins/hooks.js+2 added-2 removed