v0.1.2 - almost good to go.

This commit is contained in:
Jiiks 2015-08-29 22:31:24 +03:00
parent bf89eb3eb4
commit eef9626608
2 changed files with 5 additions and 4 deletions

View File

@ -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(); }");

View File

@ -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
*/