emscripten
emscripten copied to clipboard
settings_internal.js should only contains things that we need to pass to the JS compiler.
Other internal state should stay in python only for a few of reasons.
- It avoids having the serialize via json when calling the JS compiler.
- It avoids external JS libraries accidentally depending on this internal state.