Skip to content

Commit 7477d9e

Browse files
save file
1 parent b526909 commit 7477d9e

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

blog/25-07-23/streaming-upload-with-fetch/streaming-upload-with-fetch.html

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
var code;
7070
var debug;
7171

72-
72+
var hdr;
7373
var ex;
7474

7575

@@ -81,13 +81,15 @@
8181

8282
menu = menumod();
8383

84-
85-
ex = mod.ex;
84+
hdr = mod['blog-hdr'];
85+
ex = mod.ex;
8686

87+
hdr.initmod({ext,$});
8788
ex.initmod({ext,$,ace,menu});
8889

8990

9091
await Promise.all([
92+
hdr.init(),
9193
ex.init(),
9294
]);
9395

@@ -164,7 +166,7 @@
164166

165167
<body>
166168

167-
<blog-hdr component=grp1 v2.0>
169+
<blog-hdr component=grp1>
168170
<h1 class=title>
169171
streaming upload with fetch
170172
</h1>
@@ -195,8 +197,7 @@ <h1 class=title>
195197
</p>
196198

197199

198-
<snippet-console id=ex component v2.0 src='ex/fetch.js'>
199-
</snippet-console>
200+
<snippet-console id=ex src='ex/fetch.js' component></snippet-console>
200201

201202

202203
</body>
@@ -207,12 +208,20 @@ <h1 class=title>
207208

208209
function initdom(rootnode){
209210

211+
hdr.initdom();
212+
210213
ex.initdom(null,{fullsize:true});
211214

212215
}//initdom
213216

214217

215218
</script>
219+
216220
</html>
217221

218222

223+
224+
225+
226+
227+

0 commit comments

Comments
 (0)