Skip to content

Commit 2712b18

Browse files
save file
1 parent 4c82c60 commit 2712b18

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

blog/25-10-17/codemirror-in-the-browser/codemirror-in-the-browser.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555

5656
var menu;
5757

58+
var hdr;
5859
var ex;
59-
6060
var log;
6161

6262

@@ -66,14 +66,17 @@
6666
async function init(){
6767

6868
menu = menumod();
69-
69+
70+
hdr = mod['blog-hdr'];
7071
ex = mod.ex;
7172
log = mod['log-mod'];
7273

74+
hdr.initmod({ext,$});
7375
ex.initmod({ext,$,menu,ace});
7476
log.initmod({ext,$});
7577

7678
await Promise.all([
79+
hdr.init(),
7780
ex.init(),
7881
log.init(),
7982
]);
@@ -196,7 +199,7 @@ <h1 class=title>
196199

197200
function initdom(rootnode){
198201

199-
202+
hdr.initdom();
200203
ex.initdom();
201204
log.initdom();
202205

0 commit comments

Comments
 (0)