Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function (libs, ctx){
- ctx = ctx || this;
- for (var lib in libs) { ctx[lib] = require(libs[lib]); }
- })({
- 'express' : 'express',
- 'path' : 'path',
- 'favicon' : 'serve-favicon',
- 'logger' : 'morgan',
- 'cookieParser' : 'cookie-parser',
- 'bodyParser' : 'body-parser',
- 'routes' : './routes/index',
- 'users' : './routes/users'
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement