Cleanup
This commit is contained in:
parent
14de558305
commit
eca427ce46
|
@ -13,8 +13,6 @@ import BdCss from './styles/index.scss';
|
||||||
import { Events, CssEditor, Globals, PluginManager, ThemeManager } from 'modules';
|
import { Events, CssEditor, Globals, PluginManager, ThemeManager } from 'modules';
|
||||||
import { ClientLogger as Logger } from 'common';
|
import { ClientLogger as Logger } from 'common';
|
||||||
|
|
||||||
import { default as WebpackModules } from './modules/webpackmodules';
|
|
||||||
|
|
||||||
class BetterDiscord {
|
class BetterDiscord {
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
|
|
|
@ -8,9 +8,8 @@
|
||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import Dom from './dom';
|
import DOM from './dom';
|
||||||
import Vue from './vue';
|
import Vue from './vue';
|
||||||
import VTooltip from 'v-tooltip';
|
|
||||||
import { BdSettingsWrapper } from './components';
|
import { BdSettingsWrapper } from './components';
|
||||||
import { Events, WebpackModules } from 'modules';
|
import { Events, WebpackModules } from 'modules';
|
||||||
import { Utils } from 'common';
|
import { Utils } from 'common';
|
||||||
|
@ -37,10 +36,8 @@ export default class {
|
||||||
}
|
}
|
||||||
|
|
||||||
static injectUi() {
|
static injectUi() {
|
||||||
Dom.createElement('bdtooltips').appendTo(Dom.bdBody);
|
DOM.createElement('bdtooltips').appendTo(DOM.bdBody);
|
||||||
|
DOM.createElement('div', null, 'bd-settings').appendTo(DOM.bdBody);
|
||||||
Dom.createElement('div', null, 'bd-settings').appendTo(Dom.bdBody);
|
|
||||||
|
|
||||||
const vueInstance = new Vue({
|
const vueInstance = new Vue({
|
||||||
el: '#bd-settings',
|
el: '#bd-settings',
|
||||||
components: { BdSettingsWrapper },
|
components: { BdSettingsWrapper },
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import Dom from './dom';
|
|
||||||
import Vue from './vue';
|
import Vue from './vue';
|
||||||
|
|
||||||
export default class {
|
export default class {
|
||||||
|
|
Loading…
Reference in New Issue