Hi everybody, I'd like to know if anybody found a way to access, from Wasm/C++ code, some EXTERNAL Javascript code, i.e., code NOT contained in the C++ code as inline Javascript, like EM_JS(...). I'm trying to do so also through the --js-library switch, but I cannot access my external JS function:
ColorFever.js:1387 Uncaught ReferenceError: JsLibCheatPanel is not defined at JsCheatPanel (ColorFever.js:1387:27) at imports.<computed> (ColorFever.js:8813:35) at SdkUtils::CheatPanel() (ColorFever.wasm:0x9d992) at SDKCheatPanel() (ColorFever.wasm:0x442d3) at GameUtils::MenuFunc(unsigned char) (ColorFever.wasm:0x1e012) at GAMMainLoop() (ColorFever.wasm:0x38fb1) at MainLoop() (ColorFever.wasm:0x67c5c) at dynCall_v (ColorFever.wasm:0x3d2255) at ret.<computed> (ColorFever.js:8847:35) at ColorFever.js:1174:22 any help is welcome!! Thanks, f_lande -- 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/8cf3caa4-69ba-4e95-9289-8853d767e513n%40googlegroups.com.