Commit 87b9af80 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Remove unneeded query from RepoEditor.p.initMonaco

parent eac230ce
...@@ -21,14 +21,11 @@ export default class RepoEditor { ...@@ -21,14 +21,11 @@ export default class RepoEditor {
initMonaco() { initMonaco() {
monacoLoader(['vs/editor/editor.main'], () => { monacoLoader(['vs/editor/editor.main'], () => {
this.monacoEditor = monaco.editor this.monacoEditor = monaco.editor.create(this.el, {
.create(
document.getElementById('ide'), {
model: null, model: null,
readOnly: true, readOnly: true,
contextmenu: false, contextmenu: false,
}, });
);
Helper.monacoInstance = monaco; Helper.monacoInstance = monaco;
this.initVue(); this.initVue();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment