Skip to content
Myr

Fixing up examples a bit

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 9b7470d · Browse files · 5 files+21 added−8 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+21 added−8 removed

  • other:+21 added−8 removed

5 files+21 added−8 removed

modified:examples/jade/app.js+5 added-1 removed
modified:examples/multipart/app.js+7 added-3 removed
modified:examples/mvc/app.js+1 added-1 removed
modified:examples/pages/app.js+5 added-1 removed
12// Expose modules in ./support for demo purposes3require.paths.unshift(__dirname + '/../../support');45/**6 * Module dependencies.7 */8
82 unmodified lines
91app.get('/500', function(req, res, next){92 next(new Error('keyboard cat!'));93});9492app.listen(3000);95app.listen(3000);96console.log('Express app started on port 3000');
modified:examples/resource/app.js+3 added-2 removed