1 parent d7be0dc commit 0670eb9Copy full SHA for 0670eb9
1 file changed
utils/misc/nodejs-terminal/html/webcontainer-ports/webcontainer-ports.html
@@ -153,10 +153,10 @@
153
async function open(e){
154
155
//e.stopPropagation();
156
- var node = document.createElement('webcontainer-iframe');
+ var node = document.createElement('webcontainer-iframe');
157
node.setAttribute('component','page');
158
- var mod2 = mod.create({mod,name:'webcontainer-iframe'});
159
- var result = await mod.build({root:node,mod:mod2});
+ var mod2 = mod.create({mod,name:'webcontainer-iframe'});
+ var result = await mod.build({root:node,mod:mod2});
160
var wciframe = mod2['webcontainer-iframe'];
161
wciframe.initmod({vm});
162
await mod2.auto();
0 commit comments