We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62b45ec commit ab0b572Copy full SHA for ab0b572
1 file changed
utils/misc/nodejs-terminal/v2.0/nodejs-terminal-v2.0.html
@@ -287,11 +287,12 @@
287
288
var node = document.createElement('webcontainer-iframe');
289
node.setAttribute('component','page');
290
- document.body.append(node);
+ //document.body.append(node);
291
var mod2 = mod.create({mod,name:'webcontainer-iframe'});
292
var result = await mod.build({root:node,mod:mod2});
293
- await mod2.auto();
294
var wciframe = mod2['webcontainer-iframe'];
+ wciframe.initmod({vm});
295
+ await mod2.auto();
296
return wciframe;
297
298
}//niframe
0 commit comments