Hi Brian! Sorry for the late reply, but I only noticed your message now.
On Tue, 31 Jan 2017 10:32:32 -0800 (PST) Brian Gavin <[email protected]> wrote: > Hi Shlomi > > Did you do something like this? > > In a text editor add this code to the beginning of the generated js file. > > define(function() { > return function(Module) { > > and after the generated js file add > > return Module; > }; > }); > > After I've done a variation of that using the Unix cat command and initialized Emscripten like this: var Module = require('.../path/to/fcs.js'); var mod = Module()({}); and fixing some remaining require.js SNAFUs, it worked, and I was able to get the tests to pass from the command line. Now however the browser-based tests sometimes fail : http://www.shlomifish.org/fc-solve-temp/js-fc-solve/automated-tests/ sometimes they are ok however - in both firefox and chromium browser. code is here: https://github.com/shlomif/fc-solve/tree/convert-site-away-from-Joose Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ http://www.shlomifish.org/humour/bits/Can-I-SCO-Now/ - “Can I SCO Now?” The only reason some jokes never die is because Chuck Norris is not interested in killing them. — http://www.shlomifish.org/humour/bits/facts/Chuck-Norris/ Please reply to list if it's a mailing list post - http://shlom.in/reply . -- 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.
