summaryrefslogtreecommitdiffstats
path: root/platform/javascript/engine
Commit message (Collapse)AuthorAgeFilesLines
* Fix Closure compiler build, python style.Fabio Alessandrelli2020-05-102-21/+3
| | | | Move copyToFS into utils.js library included with '--pre-js'.
* DisplayServerJavaScript implementation.Fabio Alessandrelli2020-05-101-0/+9
|
* [HTML5] Locale, input fix, context, exit.Fabio Alessandrelli2020-05-102-90/+109
| | | | | | | Add missing semicolumns in engine.js Add optional extra args to JS Engine.startGame Remove loader.js, explicit noExitRuntime. Also add onExit callback (undocumented in emscripten)
* [HTML5] Refactor JS, threads support, closures.Fabio Alessandrelli2020-03-115-0/+428
- 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.