Skip to content

Commit 4021036

Browse files
save file
1 parent 07366f9 commit 4021036

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

utils/misc/nodejs-terminal/html/webcontainer-fs/webcontainer-fs.html

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,23 @@
167167

168168

169169
btn.load = function(){
170+
171+
172+
console.log(filenav.cur);
173+
174+
170175
}//load
171176

172177

173-
btn.save = function(){
178+
btn.save = async function(){
179+
180+
var blob = await source();
181+
182+
var path = filenav.path;
183+
184+
console.log(filenav.cur);
185+
186+
174187
}//save
175188

176189

0 commit comments

Comments
 (0)