mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 15:05:39 +01:00
FIx formatting
This commit is contained in:
parent
f0c47e6e2d
commit
3717a26fcb
1 changed files with 28 additions and 30 deletions
|
|
@ -226,8 +226,6 @@ self.MonacoEnvironment = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
Monaco = await import('monaco-editor');
|
|
||||||
|
|
||||||
monaco.editor.create(document.getElementById('container'), {
|
monaco.editor.create(document.getElementById('container'), {
|
||||||
value: "function hello() {\n\talert('Hello world!');\n}",
|
value: "function hello() {\n\talert('Hello world!');\n}",
|
||||||
language: 'javascript'
|
language: 'javascript'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue