params
This commit is contained in:
parent
ca8a421a9c
commit
cb8b448da9
|
@ -10,12 +10,10 @@
|
|||
|
||||
import { DOM, BdUI } from 'ui';
|
||||
import BdCss from './styles/index.scss';
|
||||
import { Events, CssEditor, Globals } from 'modules';
|
||||
import { Events, CssEditor, Globals, PluginManager } from 'modules';
|
||||
|
||||
class BetterDiscord {
|
||||
constructor() {
|
||||
window.DOM = DOM;
|
||||
window.cssEditorTest = CssEditor;
|
||||
DOM.injectStyle(BdCss, 'bdmain');
|
||||
Events.on('global-ready', this.globalReady.bind(this));
|
||||
}
|
||||
|
|
|
@ -50,7 +50,7 @@ export default new class extends Module {
|
|||
Events.emit('socket-created');
|
||||
}
|
||||
|
||||
getObject() {
|
||||
getObject(name) {
|
||||
return this.state[name];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue