mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
changed function XXX( to function XXX (
This commit is contained in:
parent
7e5eeb0a27
commit
76daceb2e7
22 changed files with 22 additions and 22 deletions
|
|
@ -5,7 +5,7 @@ define([
|
|||
|
||||
function (Channel, CoordinatorLink) {
|
||||
|
||||
function ChannelBootstrap(process) {
|
||||
function ChannelBootstrap (process) {
|
||||
|
||||
var coordinatorLink = new CoordinatorLink(process);
|
||||
var channel = null;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ define([
|
|||
|
||||
function (Networker, SocketIO) {
|
||||
|
||||
function Client(location, options) {
|
||||
function Client (location, options) {
|
||||
this.socket = SocketIO.connect(location, options);
|
||||
this.networker = new Networker(this.socket);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ define([
|
|||
|
||||
function (http, nodeStatic) {
|
||||
|
||||
function HttpServer(options) {
|
||||
function HttpServer (options) {
|
||||
options.port = options.port || 1234;
|
||||
options.caching = typeof options.caching != 'undefined' ? options.caching : true;
|
||||
options.rootDirectory = options.rootDirectory || './';
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ define([
|
|||
|
||||
function (HttpServer, Socket, Coordinator) {
|
||||
|
||||
function Server(options) {
|
||||
function Server (options) {
|
||||
coordinator = new Coordinator();
|
||||
httpServer = new HttpServer(options);
|
||||
this.socket = new Socket(httpServer.getServer(), options, coordinator);
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ define([
|
|||
|
||||
function (io) {
|
||||
|
||||
function Socket(server, options, coordinator) {
|
||||
function Socket (server, options, coordinator) {
|
||||
options.logLevel = typeof options.logLevel != 'undefined'
|
||||
? options.logLevel
|
||||
: 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue