This commit is contained in:
Jiiks 2018-01-31 17:47:47 +02:00
parent 14de558305
commit eca427ce46
3 changed files with 3 additions and 9 deletions

View File

@ -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() {

View File

@ -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 },

View File

@ -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 {