mirror of
/repos/Prototyper.git
synced 2025-12-30 06:31:32 +01:00
added async
This commit is contained in:
parent
a37d7b7f31
commit
fe46cfc543
@ -13,7 +13,8 @@
|
||||
"underscore": "~1.4.4",
|
||||
"less": "~1.3.3",
|
||||
"when": "~2.0.1",
|
||||
"markdown": "~0.4.0"
|
||||
"markdown": "~0.4.0",
|
||||
"async": "~0.2.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"sockjs": "~0.3.5"
|
||||
|
||||
@ -38,7 +38,8 @@ var config = {
|
||||
importer_path: __dirname + '/public',
|
||||
public_path: __dirname + '/public',
|
||||
markdown_client: __dirname + '/node_modules/markdown/lib',
|
||||
ace_client: __dirname + '/node_modules/share/examples/lib/ace'
|
||||
ace_client: __dirname + '/node_modules/share/examples/lib/ace',
|
||||
async_client: __dirname + '/node_modules/async/lib'
|
||||
}
|
||||
};
|
||||
|
||||
@ -50,6 +51,8 @@ app.use(express.static(config.statics.public_path));
|
||||
app.use('/lib/markdown', express.static(config.statics.markdown_client));
|
||||
//noinspection JSUnresolvedFunction
|
||||
app.use('/lib/ace', express.static(config.statics.ace_client));
|
||||
//noinspection JSUnresolvedFunction
|
||||
app.use('/lib/async', express.static(config.statics.async_client));
|
||||
|
||||
MongoClient.connect(config.mongo.server, config.mongo.options, function connection(err, db) {
|
||||
if (err) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user