You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just added the ability to construct additional FS modules and use them in the EmscriptenFS in v0.5.3.
Secondary FS modules function identically to the standard FS module, except that you can't do the following:
varsecondaryFs=newBrowserFS.BFSRequire('fs').FS();varwriteFile=secondaryFs.writeFile;writeFile(...)// will fail because secondaryFs is an object with state; writeFile needs to be invoked on it
Hey @db48x!
I just added the ability to construct additional FS modules and use them in the EmscriptenFS in v0.5.3.
Secondary FS modules function identically to the standard FS module, except that you can't do the following:
To use a secondary FS module with the Emscripten FS, simply pass it in as the last argument to the EmscriptenFS constructor.
I hope this helps your modularity story! :)
Let me know if you have any issues or questions.
The text was updated successfully, but these errors were encountered: