Break out NWS into a user option

This commit is contained in:
calzoneman 2013-06-04 15:41:34 -04:00
parent ddc1c56986
commit cfc866400c
4 changed files with 30 additions and 9 deletions

View file

@ -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]);