Skip to content

Commit 7df9115

Browse files
save file
1 parent d7c49ad commit 7df9115

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

blog/25-08-26/terminal-in-a-webpage/terminal-in-a-webpage.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@
6161
var keydown;
6262
var debug;
6363

64+
var hdr;
6465
var snippet;
65-
6666
var log;
6767

6868

@@ -73,14 +73,16 @@
7373
debug('init',version);
7474
menu = menumod();
7575

76-
76+
hdr = mod['blog-hdr'];
7777
snippet = mod['snippet-html-console'];
7878
log = mod['log-mod'];
7979

80+
hdr.initmod({ext,$});
8081
snippet.initmod({ext,$,menu,ace});
8182
log.initmod({ext,$});
8283

8384
await Promise.all([
85+
hdr.init(),
8486
snippet.init(),
8587
log.init(),
8688
]);
@@ -210,6 +212,7 @@ <h1 class=title>
210212

211213
var root = rootnode;
212214

215+
hdr.initdom();
213216

214217
snippet.initdom(root);
215218
snippet.console.height = 200;

0 commit comments

Comments
 (0)