We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37ffa48 commit fc333dfCopy full SHA for fc333df
html-components/list/file-mod/file-mod.html
@@ -61,24 +61,26 @@
61
62
63
async function init(){
64
- console.log('init');
+ debug('init');
65
66
md = markdownit({
67
html : true,
68
breaks : false,
69
- linkify : true
+ linkify : true,
70
linkTarget : '_blank',
71
});
72
73
- await load();
74
75
dirtree = mod['dir-tree'];
76
snippet = mod['snippet-html-console'];
77
editor = mod['web-editor'];
78
log = mod['log-mod'];
79
80
81
- await mod.auto();
+ await Promise.all([
+ load(),
82
+ mod.auto(),
83
+ ]);
84
85
86
initdom();
0 commit comments