Skip to content
Myr

Fixed express(1) support for < 0.3.x

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 c24a6b2 · Browse files · 1 file+13 added−2 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+13 added−2 removed

  • other:+13 added−2 removed

1 file+13 added−2 removed

modified:bin/express+13 added-2 removed
4 unmodified lines
5 */67var fs = require('fs')8 , sys = require('sys')9 , exec = require('child_process').exec10 , constants = require('constants');9 , exec = require('child_process').exec;1011/**12 * COMPAT: expose constants13 */1415var constants;1617try {18 constants = require('constants');19} catch (err) {20 constants = process;21}2223/**24 * Framework version.25 */2627var version = '2.0.0-pre';
419 unmodified lines