summaryrefslogtreecommitdiffstats
path: root/platform/javascript/engine/preloader.js
Commit message (Collapse)AuthorAgeFilesLines
* [HTML5] Libraries refactor for linting.Fabio Alessandrelli2020-11-211-135/+0
| | | | | | | | | | | | Initial work to make liniting easier. This includes: - Rename http_request.js to library_godot_http_request.js. - Rename externs.js to engine.externs.js. - New library_godot_runtime.js (GodotRuntime) wraps around emscripten functions. - Refactor of XMLHttpRequest handler in engine/preloader.js. - Few fixes to bugs spotted by early stage linting.
* Remove empty lines around braces with the formatting scriptAaron Franke2020-11-161-4/+0
|
* [HTML5] Refactor JS, threads support, closures.Fabio Alessandrelli2020-03-111-0/+139
- 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.