Skip to content

Commit c8fba5a

Browse files
save file
1 parent ea88e81 commit c8fba5a

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

utils/misc/nodejs-terminal/v2.0/nodejs-terminal-v2.0.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565

6666
var misc;
6767
var filemod;
68+
var wcfs;
6869
var log;
6970

7071

@@ -81,16 +82,20 @@
8182

8283
misc = mod['misc-hdr'];
8384
filemod = mod['file-mod'];
85+
debugger;
86+
wcfs = mod['webcontainer-fs'];
8487
log = mod['log-mod'];
8588

8689
misc.initmod({ext,$});
8790
filemod.initmod({ext,$,menumod,menu,complete,source,log});
91+
wcfs.initmod({ext,$,menumod,menu,complete,source,log});
8892
log.initmod({ext,$});
8993

9094

9195
await Promise.all([
9296
misc.init(),
9397
filemod.init(),
98+
wcfs.init(),
9499
log.init(),
95100
]);
96101

@@ -179,7 +184,7 @@
179184
<div id=filename></div>
180185
<div id=size></div>
181186

182-
<webcontainer-fs component=page></web-container-fs>
187+
<webcontainer-fs component=page></webcontainer-fs>
183188

184189
</div>
185190

@@ -215,7 +220,7 @@
215220
misc.set.version(version);
216221

217222
filemod.initdom();
218-
223+
wcfs.initdom();
219224

220225

221226
$('#hldr').style.background = theme.light.background;

0 commit comments

Comments
 (0)