mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
fix(console) connNum -> conNum
This commit is contained in:
parent
09a7c66868
commit
2006878f43
1 changed files with 3 additions and 5 deletions
|
|
@ -1,5 +1,3 @@
|
|||
/* module make possible connectoin thru socket.io on a server */
|
||||
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
|
|
@ -80,10 +78,10 @@
|
|||
|
||||
onMessage = getOnMessage(ConNum, callback);
|
||||
onDisconnect = Util.retFunc(function(conNum) {
|
||||
Clients[connNum] =
|
||||
ClientFuncs[connNum] = null;
|
||||
Clients[conNum] =
|
||||
ClientFuncs[conNum] = null;
|
||||
|
||||
log(connNum, 'disconnected');
|
||||
log(conNum, 'disconnected');
|
||||
|
||||
socket.removeListener('message', onMessage, clientSocket);
|
||||
socket.removeListener('disconnect', onDisconnect, clientSocket);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue