Skip to content

Commit 1342e68

Browse files
save file
1 parent 0f76156 commit 1342e68

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

blog/25-07-27/simple-proxy/simple-proxy.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@
6565

6666
var menu;
6767

68+
var hdr;
6869
var example;
69-
7070
var log;
7171

7272

@@ -79,14 +79,16 @@
7979
menu = menumod();
8080

8181

82-
82+
hdr = mod['blog-hdr'];
8383
example = mod.example;
84-
log = mod.log;
84+
log = mod['log-mod'];
8585

86+
hdr.initmod({ext,$});
8687
example.initmod({ext,$,menu,ace});
8788
log.initmod({ext,$});
8889

8990
await Promise.all([
91+
hdr.init(),
9092
example.init(),
9193
log.init(),
9294
]);
@@ -194,7 +196,7 @@
194196
<body>
195197

196198

197-
<blog-hdr component=grp1 v2.0>
199+
<blog-hdr component=grp1>
198200
<h1 class=title>
199201
Simple Proxy
200202
</h1>
@@ -214,10 +216,10 @@ <h1 class=title>
214216
</div>
215217

216218

217-
<editor id=example component v2.0 src='ex/simple-proxy.js'></editor>
219+
<web-editor id=example src='ex/simple-proxy.js' component></web-editor>
218220

219221

220-
<log component v2.0></log>
222+
<log-mod component></log-mod>
221223

222224

223225
</body>

0 commit comments

Comments
 (0)