Skip to content

Commit 481985b

Browse files
save file
1 parent 745a6cf commit 481985b

1 file changed

Lines changed: 3 additions & 39 deletions

File tree

utils/misc/stackblitz/v2.0/stackblitz-v2.0.html

Lines changed: 3 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
</script>
3636

3737

38-
<script src='https://libs.ext-code.com/js/dom/component/v3.0/component.js'></script>
38+
<script src='https://libs.ext-code.com/js/dom/component/v3.0/component.js?hdr'></script>
3939

4040
<script init>
4141
console.clear();
@@ -58,46 +58,13 @@
5858

5959

6060

61-
async function init(){
61+
async function ready(){
6262
debug('init',version);
63-
64-
menu = menumod();
65-
66-
hdr = mod['misc-hdr'];
67-
68-
hdr.initmod({ext,$});
69-
70-
await Promise.all([
71-
hdr.init(),
72-
]);
73-
74-
7563
initdom();
7664

77-
78-
}//init
65+
}//ready
7966

8067

81-
(async()=>{
82-
83-
mod.stack.add;
84-
85-
({ext} = await import('https://libs.ext-code.com/js/io/ext-loader/ext-loader.m.js'));
86-
87-
var promise = ext.load.libs(
88-
'js/dom/$.js',
89-
'js/core/datatype.js',
90-
'js/dom/menumod/menumod.js',
91-
'js/dom/keydown/keydown.js',
92-
'js/debug/debug.js',
93-
);
94-
[$,datatype,menumod,keydown,debug] = await promise;
95-
96-
mod.stack.complete;
97-
98-
})();
99-
100-
10168
</script>
10269

10370

@@ -183,9 +150,6 @@
183150
function initdom(){
184151

185152

186-
hdr.initdom();
187-
188-
189153
}//initdom
190154

191155

0 commit comments

Comments
 (0)