Skip to content

Commit e60caba

Browse files
save file
1 parent f3d07f3 commit e60caba

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171

7272

7373
snippet = mod['snippet-html-console'];
74-
log = mod.log;
74+
log = mod['log-mod'];
7575

7676
snippet.initmod({ext,$,menu,ace});
7777
log.initmod({ext,$});
@@ -170,7 +170,7 @@
170170

171171
<body>
172172

173-
<blog-hdr component=grp1 v2.0>
173+
<blog-hdr component=grp1>
174174
<h1 class=title>
175175
Monaco Editor Setup
176176
</h1>
@@ -189,13 +189,13 @@ <h1 class=title>
189189
</div>
190190

191191

192-
<snippet-html-console component v2.0 src='ex/ex1.html'></snippet-html-console>
192+
<snippet-html-console src='ex/ex1.html' component></snippet-html-console>
193193

194194

195195
<div id=ftr></div>
196196

197197

198-
<log component v2.0></log>
198+
<log-mod component></log-mod>
199199

200200
</body>
201201

@@ -218,6 +218,9 @@ <h1 class=title>
218218
snippet.initdom(root);
219219
snippet.console.height = 200;
220220

221+
222+
log.initdom();
223+
221224

222225
}//initdom
223226

0 commit comments

Comments
 (0)