js-debug VS js-release
i really loves the way code is written and managed in Apache royale JS but as usual most of the developer write and compile code in debug mode and once done then we compile release build.
here all are working fine as expected in js-debug and unable to run in js-release.
code is available at https://github.com/sanjeev-rajput/ruffle-schand-as-js-wasm.git
I also noticed that while reading json/array
e.g. in debug build data.item1 - works fine data['item1'] - works fine in release build data.item1 - in some cases it doesn't work data['item1'] - works fine
adding -js-dynamic-access-unknown-members=true as additionalOptions in asconfig.json makes most of things works
-js-dynamic-access-unknown-members=true
Yes. That's working as expected.