Trivial: Give the middleware init function an explicit name.
commit1787fd1b525a2abb626a335754556a090c77bca1
authorAndy Hiew <root@groundcomputing.com>
Fri, 30 Mar 2012 22:05:11 +0000 (30 16:05 -0600)
committerAndy Hiew <root@groundcomputing.com>
Fri, 30 Mar 2012 22:05:11 +0000 (30 16:05 -0600)
tree82269b34a1d7cf7506a517f5da13b5b69535e20f
parent54c3d5c113de15b966bb332e30a009ba60dedc14
 Trivial: Give the middleware init function an explicit name.

    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] },
lib/middleware.js