simple.js
This file
Path
examples/simple.js
9 lines · 147 bytes · JavaScript
Last changed by
merged from upstreamcsausdevbefore adoptiona3acc21
History of this fileTake it
merged from upstreamcsausdevbefore adoptiona3acc21
line 1why, one step back1Added example, extra info to Readmecsausdevbefore adoption3491ff3
lines 2–4why, one step back2require.paths.unshift("./lib")3require('express')4merged from upstreamcsausdevbefore adoptiona3acc21
lines 5–7why, one step back5get('/i/like/:object', function() {6 'You like "' + param('object') + '"'7})Added example, extra info to Readmecsausdevbefore adoption3491ff3
line 8why, one step back8merged from upstreamcsausdevbefore adoptiona3acc21
line 9why, one step back9Express.start()