Skip to content
Myr

misc refactoring

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

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 41467d5 · Browse files · 1 file+1 added−5 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−5 removed

  • other:+1 added−5 removed

1 file+1 added−5 removed

modified:lib/http.js+1 added-5 removed
72 unmodified lines
73 next();74 });7576 // apply middleware77 if (middleware) {78 middleware.forEach(function(fn){79 self.use(fn);80 });81 }77 if (middleware) middleware.forEach(self.use.bind(self));7879 // use router, expose as app.get(), etc80 var fn = router(function(app){ self.routes = app; });81 this.__defineGetter__('router', function(){
378 unmodified lines