Skip to content

Commit 87fc7da

Browse files
save file
1 parent e8831e3 commit 87fc7da

File tree

1 file changed

+1
-3
lines changed
  • blog/25-08-25/monaco-editor-setup/ex

1 file changed

+1
-3
lines changed

blog/25-08-25/monaco-editor-setup/ex/ex1.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@
4343

4444
function ready(monaco){
4545

46-
if(monaco.m){
47-
monaco = monaco.m;
48-
}
46+
monaco = monaco.m||monaco;
4947

5048

5149
var txt = `

0 commit comments

Comments
 (0)