virtualx-engine/platform/javascript/js/engine
Fabio Alessandrelli b402c1cb17
[HTML5] Fix Mono builds (old emcc?)
Promise chaining the emscripten module `then` function breaks it badly,
causing an infinite loop.
I'm unsure about the source of the issue, but most likely at this point
is due to the old emscripten version (I remember very old html5 builds
having issue with promise chaining too).

With this commit, we no longer use the module as a promise, and
instantiate it using `Promise` objects directly for compatibility.

(cherry picked from commit ae3c9345cc)
2021-03-29 19:04:29 +02:00
..
config.js [HTML5] Drag and drop zip in project manager. 2021-03-12 10:43:52 +01:00
engine.externs.js [HTML5] Preloader fetch, streaming instantiation. 2021-03-05 17:32:17 +01:00
engine.js [HTML5] Fix Mono builds (old emcc?) 2021-03-29 19:04:29 +02:00
preloader.js [HTML5] Export process writes sizes in template. 2021-03-05 17:32:17 +01:00