mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
2025 update!
This commit is contained in:
parent
1df7258b56
commit
e6089687ed
6 changed files with 2487 additions and 358 deletions
|
|
@ -32,13 +32,7 @@ function (Networker, io, Settings, Exception, nc, Menu) {
|
|||
var menu = new Menu();
|
||||
menu.onRun = function(channelName, nickname) {
|
||||
var options = {
|
||||
"reconnect": false,
|
||||
"reconnection delay": 500,
|
||||
"max reconnection attempts": 10,
|
||||
"transports": [
|
||||
"websocket",
|
||||
"flashsocket"
|
||||
]
|
||||
transports: ["websocket"] // v4: only use websocket, flashsocket is gone
|
||||
};
|
||||
var socket = io("/", options);
|
||||
var networker = new Networker(socket, channelName, nickname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue