mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
chore(console) addListeners: add " "
This commit is contained in:
parent
5e12b475bb
commit
8264c4afa0
1 changed files with 8 additions and 8 deletions
|
|
@ -153,14 +153,14 @@ var CloudCmd, Util, DOM, CloudFunc, $;
|
|||
|
||||
function addListeners(callback) {
|
||||
var options = {
|
||||
'connect' : function() {
|
||||
log(Socket.CONNECTED);
|
||||
},
|
||||
|
||||
'disconnect': function() {
|
||||
error(Socket.DISCONNECTED);
|
||||
}
|
||||
};
|
||||
'connect' : function() {
|
||||
log(Socket.CONNECTED);
|
||||
},
|
||||
|
||||
'disconnect': function() {
|
||||
error(Socket.DISCONNECTED);
|
||||
}
|
||||
};
|
||||
|
||||
options[CHANNEL] = onMessage;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue