From be84041d577e4f2a6d6e4717c64ef705f8b9abda Mon Sep 17 00:00:00 2001 From: Jiiks Date: Thu, 31 Dec 2015 19:36:34 +0200 Subject: [PATCH] Firework credits --- js/main.js | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/js/main.js b/js/main.js index 1b815239..b8f3afc5 100644 --- a/js/main.js +++ b/js/main.js @@ -187,6 +187,8 @@ Core.prototype.init = function() { $("head").append(""); + /*Fireworks Scripts by http://www.javascript-fx.com/ */ + } else { setTimeout(gwDefer, 100); } @@ -1595,21 +1597,21 @@ BdWSocket.prototype.onMessage = function(e) { switch(type) { case "READY": - bdSocket.interval = setInterval(() => bdws.send({ op: 1, d: Date.now() }), data.heartbeat_interval); - utils.log("Socket Ready"); - console.log(data.heartbeat_interval); + // bdSocket.interval = setInterval(() => bdws.send({ op: 1, d: Date.now() }), data.heartbeat_interval); + // utils.log("Socket Ready"); + // console.log(data.heartbeat_interval); break; case "PRESENCE_UPDATE": break; case "TYPING_START": break; case "MESSAGE_CREATE": - console.log("MESSAGE CREATE"); - console.log(data); + // console.log("MESSAGE CREATE"); + // console.log(data); break; case "MESSAGE_UPDATE": - console.log("MESSAGE UPDATE"); - console.log(data); + // console.log("MESSAGE UPDATE"); + // console.log(data); break; default: break;