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.

Reply via email to