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;
  };
});


On Tuesday, January 31, 2017 at 4:42:34 AM UTC-5, Shlomi Fish wrote:
>
> Hi all! 
>
> Can anyone help me with this issue? 
>
> Regards, 
>
>         Shlomi Fish 
>
> On Tue, 10 Jan 2017 13:37:58 +0200 
> Shlomi Fish <shl...@shlomifish.org <javascript:>> wrote: 
>
> > Hi Brian, 
> > 
> > On Mon, 9 Jan 2017 07:57:18 -0800 (PST) 
> > Brian Gavin <bgav...@gmail.com <javascript:>> wrote: 
> > 
> > > Hi Shlomi, 
> > > Take a look at this link here. 
> > > 
> http://stackoverflow.com/questions/29329240/emscripten-with-module-loaders 
> > > 
> > > We were able to use require.js using the technique described in the 
> link. 
> > > 
> > > Brian Gavin 
> > >   
> > 
> > thanks for your reply. I saw that link and tried something similar and 
> now 
> > tried this very thing and the result is the same, see: 
> > 
> > http://www.shlomifish.org/fc-solve-temp/js-fc-solve/automated-tests/ 
> > 
> > Also see the source at: 
> > 
> > https://github.com/shlomif/fc-solve/tree/convert-site-away-from-Joose 
> > 
> > Regards, 
> > 
> >         Shlomi Fish 
> > 
>
>
>
> -- 
> ----------------------------------------------------------------- 
> Shlomi Fish       http://www.shlomifish.org/ 
>
> http://shlomifishswiki.branchable.com/Encourage_criticism_and_try_to_get_offended/
>  
>
> Who would win in a fight? Charlemagne, Charles Dickens, Charles Darwin or 
> Carlos “Chuck” Norris? If Summer Glau was the arbiter, she would just kill 
> all 
> of them and declare herself the winner. 
>     — http://www.shlomifish.org/humour/bits/facts/Summer-Glau/ 
>
> 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 emscripten-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to