Skip to content
Myr

Trivial: Give the middleware init function an explicit name.

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

Middleware stack printout before: NODE> app.stack [ { route: '', handle: [Function: query] }, { route: '', handle: [Function] }, { route: '', handle: [Function: favicon] }, { route: '', handle: [Function: logger] }, Middleware stack printout after: NODE> app.stack [ { route: '', handle: [Function: query] }, { route: '', handle: [Function: expressInit] }, { route: '', handle: [Function: favicon] }, { route: '', handle: [Function: logger] },

authored by Andy Hiew · committed by Andy Hiew · parent 54c3d5c · 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/middleware.js+2 added-2 removed