From 6336861ba227a12b72d52c44b9287ef8b3923552 Mon Sep 17 00:00:00 2001 From: Jiiks Date: Mon, 26 Oct 2015 06:26:40 +0200 Subject: [PATCH] dev --- devjs/main.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/devjs/main.js b/devjs/main.js index 2fc9d50..6cb49c6 100644 --- a/devjs/main.js +++ b/devjs/main.js @@ -69,6 +69,8 @@ Core.prototype.init = function() { return; } + var self = this; + //Incase were too fast function gwDefer() { console.log(new Date().getTime() + " Defer"); @@ -84,8 +86,8 @@ Core.prototype.init = function() { emoteModule.init(); emoteModule.autoCapitalize(); - this.initSettings(); - this.initObserver(); + self.initSettings(); + self.initObserver(); var guilds = $(".guilds li:first-child");