Skip to content

Commit 5dd1ed0

Browse files
save file
1 parent 08de6c8 commit 5dd1ed0

1 file changed

Lines changed: 101 additions & 0 deletions

File tree

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
2+
3+
4+
<html>
5+
6+
<head>
7+
8+
<base href='https://ext-code.com/utils/misc/nodejs-terminal/nodejs-terminal.html'>
9+
10+
11+
<script src='https://libs.ext-code.com/js/dom/component/v3.0/component.js?hdr'></script>
12+
13+
14+
<script init>
15+
console.log('webcontainer-iframe');
16+
console.log();
17+
18+
var menu;
19+
20+
var wciframe;
21+
22+
var log;
23+
24+
25+
//:
26+
27+
28+
async function init(){
29+
30+
31+
menu = menumod();
32+
33+
wciframe = mod['webcontainer-iframe'];
34+
wciframe.initmod({ext,$,menu,source});
35+
36+
log = mod['log-mod'];
37+
log.initmod({ext,$});
38+
39+
40+
await mod.auto();
41+
42+
43+
initdom();
44+
45+
46+
}//init
47+
48+
49+
(async()=>{
50+
51+
mod.stack.add;
52+
53+
({ext} = await import('https://libs.ext-code.com/js/io/ext-loader/ext-loader.m.js'));
54+
55+
var promise = ext.load.libs(
56+
'js/dom/$.js.api',
57+
'js/core/datatype.js',
58+
'js/dom/menumod/menumod.js',
59+
'js/dom/keydown/keydown.js'
60+
);
61+
[$,datatype,menumod,keydown] = await promise;
62+
63+
mod.stack.complete;
64+
65+
})();
66+
67+
68+
</script>
69+
70+
71+
</head>
72+
73+
74+
<body>
75+
76+
77+
<webcontainer-iframe component=page></webcontainer-iframe>
78+
79+
80+
<log-mod component></log-mod>
81+
82+
83+
</body>
84+
85+
86+
<script>
87+
88+
89+
function initdom(){
90+
91+
92+
93+
}//initdom
94+
95+
96+
</script>
97+
98+
99+
</html>
100+
101+

0 commit comments

Comments
 (0)