mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
deactivated automatic client reconnection
This commit is contained in:
parent
ebb400a289
commit
5d11540c55
3 changed files with 20 additions and 7 deletions
|
|
@ -5,8 +5,8 @@ define([
|
|||
|
||||
function(Networker, SocketIO) {
|
||||
|
||||
function Client(location) {
|
||||
this.socket = SocketIO.connect(location);
|
||||
function Client(location, options) {
|
||||
this.socket = SocketIO.connect(location, options);
|
||||
this.networker = new Networker(this.socket);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue