Skip to content
Myr

Hello world working (somewhat)

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 a3aefb6 · Browse files · 5 files+76 added−74 removed
This commit

State

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

Diff stats

5 files+76 added−74 removed

  • other:+76 added−74 removed

5 files+76 added−74 removed

modified:examples/hello-world/app.js+8 added-16 removed
modified:lib/express/core.js+1 added-39 removed
284 unmodified lines
285 request.error(err)286 }287 })288 }289})290291// --- Express292293Express = { 294 version: '0.14.0',295 config: [],296 routes: [],297 plugins: [],298 settings: {},299 params: {},300 server: new Server301}302303// --- Defaults304305configure(function(){306 use(require('./plugins/view').View)307 use(require('./plugins/cache').Cache)308 use(require('./plugins/redirect').Redirect)309 use(require('./plugins/body-decoder').BodyDecoder)310})311312configure('development', function(){313 enable('helpful 404')314 enable('show exceptions')315 enable('dump exceptions')316})317318configure('test', function(){319 enable('throw exceptions')320 disable('dump exceptions')321})322323configure('production', function(){324 enable('cache view contents')325 enable('cache view partials')326 enable('cache static files')327})289})
added:lib/express/index.js+67 added
deleted:lib/express.js-18 removed
deleted:lib/index.js-1 removed