From 256e69b57c3c706a50eee0074ac313175a857f4d Mon Sep 17 00:00:00 2001 From: Jiiks Date: Wed, 26 Aug 2015 12:37:05 +0300 Subject: [PATCH] Initial --- js/settingspanel.js | 88 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 js/settingspanel.js diff --git a/js/settingspanel.js b/js/settingspanel.js new file mode 100644 index 0000000..b67adf0 --- /dev/null +++ b/js/settingspanel.js @@ -0,0 +1,88 @@ +/* BetterDiscordApp Settings Panel JavaScript + * Version: 1.1 + * Author: Jiiks | http://jiiks.net + * Date: 26/08/2015 - 11:54 + * Last Update: 26/08/2015 - 12:35 + * https://github.com/Jiiks/BetterDiscordApp + */ + +function SettingsPanel() { + +} + +SettingsPanel.prototype.getPanel = function() { + return this.tcSettingsPanel; +} + +SettingsPanel.prototype.init = function() { + + var self = this; + this.tcSettingsPanel = $("
", { id: "tc-settings-panel" }); + this.getPanel().append($("
", { id: "tc-settings-panel-header" }).append($("

", { text: "BetterDiscord - Settings" })).append($("", { id: "tc-settings-close", text: "X", style:"cursor:pointer;" }))); + + var settingsList = $("