moved server into a module and actual invocation out of it

This commit is contained in:
Montana Scott Rowe 2012-01-19 17:46:55 -06:00
parent a7d9e6b9a3
commit 2b8af11405
3 changed files with 27 additions and 3 deletions

View file

@ -1,5 +1,5 @@
/**
* This module is started with bin/run.sh. It sets up a Express HTTP and a Socket.IO Server.
* This module is included by serve.js, which bin/run.sh invokes. It sets up a Express HTTP and a Socket.IO Server.
* Static file Requests are answered directly from this module, Socket.IO messages are passed
* to MessageHandler and minfied requests are passed to minified.
*/
@ -605,5 +605,5 @@ function init(additionalSetup){
}
this.init = init;
init(function(app, gets, posts, managers, handlers, db){});