diff --git a/lib/BetterDiscord.js b/lib/BetterDiscord.js index 43a7375b..8af84fc2 100644 --- a/lib/BetterDiscord.js +++ b/lib/BetterDiscord.js @@ -1,7 +1,8 @@ /* BetterDiscordApp Entry - * Version: 1.0 + * Version: 1.1 * Author: Jiiks | http://jiiks.net * Date: 27/08/2015 - 15:51 + * Last Update: 29/08/2015 - 22:300 * https://github.com/Jiiks/BetterDiscordApp */ @@ -101,7 +102,7 @@ BetterDiscord.prototype.start = function() { self.getUtils().execJs('var deferCount = 0; function defer() { if(window.jQuery) { injectMainCss() } else { setTimeout( function() { if(deferCount < 100) { deferCount++; defer(); } else { alert("BetterDiscord failed to load :( try restarting Discord. code:0x01"); } }, 100 ); } } deferCount = 0; defer();'); self.getUtils().injectJavaScript("//cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js", true); - self.getUtils().injectJavaScript("//" + _updater.CDN + "/Jiiks/BetterDiscordApp/"+_hash+"/js/main.js", true); + self.getUtils().injectJavaScript("//" + _updater.CDN + "/Jiiks/BetterDiscordApp/"+_hash+"/js/main.min.js", true); //Start BDA self.getUtils().execJs("var startBda = function() { var mainCore = new Core(); mainCore.init(); }"); diff --git a/lib/Utils.js b/lib/Utils.js index e0ff8a59..65fd270a 100644 --- a/lib/Utils.js +++ b/lib/Utils.js @@ -1,8 +1,8 @@ /* BetterDiscordApp Utils and Helper functions - * Version: 1.1 + * Version: 1.2 * Author: Jiiks | http://jiiks.net * Date: 25/08/2015 - 09:19 - * Last Updated: 27/08/2015 - 15:57 + * Last Updated: 29/08/2015 - 22:31 * https://github.com/Jiiks/BetterDiscordApp */