Module.arguments is undefined

8 views
Skip to first unread message

キャロウ マーク

unread,
Apr 13, 2024, 5:58:17 AMApr 13
to emscripten-discuss Sam Clegg via
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
signature.asc
Reply all
Reply to author
Forward
0 new messages