simple.js
This file
Path
examples/simple.js
8 lines · 223 bytes · JavaScript
Last changed by
Asynchronous handlers working.csausdevbefore adoption4858502
History of this fileTake it
Added example, extra info to Readmecsausdevbefore adoption9973bd7
lines 1–3why, one step back1require.paths.unshift("./lib")2require('express')3Asynchronous handlers working.csausdevbefore adoption4858502
line 4why, one step back4get('hello/:value', function() {Added example, extra info to Readmecsausdevbefore adoption9973bd7
lines 5–8why, one step back5 '<html><head><title>Traditional Example</title></head><body><h1>Hello '+param('value')+'</h1></body></html>' 6});78Express.start();