Skip to content

Commit 9be3568

Browse files
committed
chore(demo): upgrade monaco editor to 0.20.0
1 parent 967cdc9 commit 9be3568

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

demo/src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ <h2>AVR8js LED Demo</h2>
2727
<pre id="serial-output-text"></pre>
2828
</div>
2929
</div>
30-
<script src="//cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.18.0/min/vs/loader.js"></script>
30+
<script src="//cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.20.0/min/vs/loader.js"></script>
3131
<script src="./index.ts"></script>
3232
</body>
3333
</html>

demo/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ void loop() {
2929
declare const window: any; // eslint-disable-line @typescript-eslint/no-explicit-any
3030
declare const monaco: any; // eslint-disable-line @typescript-eslint/no-explicit-any
3131
window.require.config({
32-
paths: { vs: 'https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.18.0/min/vs' }
32+
paths: { vs: 'https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.20.0/min/vs' }
3333
});
3434
window.require(['vs/editor/editor.main'], () => {
3535
editor = monaco.editor.create(document.querySelector('.code-editor'), {

0 commit comments

Comments
 (0)