Break out NWS into a user option
This commit is contained in:
parent
ddc1c56986
commit
cfc866400c
4 changed files with 30 additions and 9 deletions
|
|
@ -2,7 +2,6 @@ var NotWebsocket = function() {
|
|||
this.connected = false;
|
||||
this.polltmr = false;
|
||||
$.getJSON(WEB_URL + "/nws/connect", function(data) {
|
||||
console.log(data);
|
||||
this.hash = data;
|
||||
this.connected = true;
|
||||
this.recv(["connect", undefined]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue