Hi all!

I'm trying to be able to load the output of Emscripten asm.js using
http://requirejs.org/ . The motivation for it is to try and allow to test it
and its wrapping code, using command-line node.js / qunit / etc. I've made some
progress in this GitHub branch of freecell solver:

https://github.com/shlomif/fc-solve/tree/convert-site-away-from-Joose

see these directories:

https://github.com/shlomif/fc-solve/tree/convert-site-away-from-Joose/fc-solve/site/wml

https://github.com/shlomif/fc-solve/blob/convert-site-away-from-Joose/fc-solve/source/Makefile.to-javascript.mak

Now after I loaded libfreecell-solver.min.js using define() and called
Module({}) I am getting an error that Module is undefined and not a function.
This is after wrapping it in pre.js and post.js using "cat". How can I fix it?

regards,

        Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Best Introductory Programming Language - http://shlom.in/intro-lang

Knuth is not God! It took him two days to build the Roman Empire.
    — http://www.shlomifish.org/humour/bits/facts/Knuth/

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.

Reply via email to