Added web and grunt scripts

This commit is contained in:
hydrabolt
2015-08-27 21:21:35 +01:00
parent 96846654df
commit 6b3cbdbde8
16 changed files with 3415 additions and 15 deletions

View File

@@ -1265,7 +1265,7 @@ var Client = (function () {
key: "trySendConnData",
value: function trySendConnData() {
if (this.token && this.websocket.readyState === WebSocket.OPEN && !this.alreadySentData) {
if (this.token && !this.alreadySentData) {
this.alreadySentData = true;
@@ -1433,4 +1433,4 @@ function getGateway() {
});
}
module.exports = Client;
module.exports = Client;