mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 22:02:55 +01:00
Run prettier
This commit is contained in:
parent
9dd7846d25
commit
780a5b6022
57 changed files with 24582 additions and 24505 deletions
|
|
@ -16,13 +16,9 @@ self.MonacoEnvironment = {
|
|||
}
|
||||
return './editor.worker.bundle.js';
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
monaco.editor.create(document.getElementById('container'), {
|
||||
value: [
|
||||
'function x() {',
|
||||
'\tconsole.log("Hello world!");',
|
||||
'}'
|
||||
].join('\n'),
|
||||
value: ['function x() {', '\tconsole.log("Hello world!");', '}'].join('\n'),
|
||||
language: 'javascript'
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue