You run the file manager separately, and then you can include the JS from it yourself manually using another pre-js. Then the order of them determines which goes first.
On Sun, Jul 3, 2016 at 7:39 AM, awt <[email protected]> wrote: > Hi, > > I would like to encapsulate all of the Emscripten-generated Javascript > within my own Javascript Object. In my prejs file, I have something like: > > var myObj = (function(input) { > > > and in my postjs, I would have something like: > > })(); > > However, because I am preloading certain resources, I see that the FS code > to fetch the .data file is being generated before myObj. Is there a way to > move the FS code inside myObj completely as I want to hide all > Emscripten-related code from my users? > > Thanks. > > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
