summaryrefslogtreecommitdiffstats
path: root/platform/javascript/pre.js
Commit message (Collapse)AuthorAgeFilesLines
* [HTML5] Refactor JS, threads support, closures.Fabio Alessandrelli2020-03-111-5/+0
| | | | | | | | | | - Refactored the Engine code, splitted across files. - Use MODULARIZE option to build emscripten code into it's own closure. - Enable lto support (saves ~2MiB in release). - Enable optional closure compiler pass for JS and generated code. - Enable optional pthreads support. - Can now build with tools=yes (not much to see yet). - Dropped some deprecated code for older toolchains.
* Add comments to javascript wrapper parts.Zaven Muradyan2018-10-151-0/+3
| | | | | | | | The code in pre.js and engine.js is a bit confusing to see in isolation, since the files aren't valid JS files by themselves. This just adds some explanatory text to both files. Fixes #22937.
* Expose Emscripten libs to engine.js discreetlyLeon Krause2018-03-271-1/+1
|
* Remove asm.js support from HTML5 platformLeon Krause2017-11-181-0/+2
Since WebGL 2.0 is required, requiring WebAssembly support as well has little impact on compatibility.