I have a —pre-js file that contains only

Module.arguments: [ '--load-gl’ ];

I am generating HTML. When I run my app after adding this to the build I get

    Module.arguments is undefined

What am I doing wrong?

I also tried

    Module[‘arguments’].push(‘—load-gl’);

and got the same exception.

Regards

    -Mark

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/0E3FA02D-6A8B-4A38-B192-23839467B097%40callow.im.

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to