mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
16 lines
No EOL
331 B
JavaScript
Executable file
16 lines
No EOL
331 B
JavaScript
Executable file
define([
|
|
"Server/HttpServer",
|
|
"Server/Socket",
|
|
"Server/Coordinator"
|
|
],
|
|
|
|
function(HttpServer, Socket, Coordinator) {
|
|
|
|
function Server(options) {
|
|
this.coordinator = new Coordinator();
|
|
this.httpServer = new HttpServer(options);
|
|
this.socket = new Socket(httpServer.getServer(), options, coordinator);
|
|
}
|
|
|
|
return Server;
|
|
}); |