mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 19:42:56 +01:00
Update printWidth to 100
This commit is contained in:
parent
365af6fa65
commit
c5586a25cf
24 changed files with 81 additions and 207 deletions
|
|
@ -11,10 +11,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<h1>Hello World!</h1>
|
||||
<div
|
||||
id="container"
|
||||
style="width: 500px; height: 300px; border: 1px solid #ccc"
|
||||
></div>
|
||||
<div id="container" style="width: 500px; height: 300px; border: 1px solid #ccc"></div>
|
||||
</body>
|
||||
|
||||
<script>
|
||||
|
|
@ -43,9 +40,7 @@
|
|||
|
||||
amdRequire(['vs/editor/editor.main'], function () {
|
||||
var editor = 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