Skip to content

Commit fc333df

Browse files
save file
1 parent 37ffa48 commit fc333df

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

html-components/list/file-mod/file-mod.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,24 +61,26 @@
6161

6262

6363
async function init(){
64-
console.log('init');
64+
debug('init');
6565

6666
md = markdownit({
6767
html : true,
6868
breaks : false,
69-
linkify : true
69+
linkify : true,
7070
linkTarget : '_blank',
7171
});
7272

73-
await load();
7473

7574
dirtree = mod['dir-tree'];
7675
snippet = mod['snippet-html-console'];
7776
editor = mod['web-editor'];
7877
log = mod['log-mod'];
7978

8079

81-
await mod.auto();
80+
await Promise.all([
81+
load(),
82+
mod.auto(),
83+
]);
8284

8385

8486
initdom();

0 commit comments

Comments
 (0)