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 = $("