Joe Osborn 862bebf687
(Emscripten) Modularize the JavaScript and clean up the web build (#15688)
* Increase emscripten stack size and decrease path size to fix emscripten builds broken since de45fc2

* use modularize flags for better-behaved javascript output

* makefile and loader changes

* use specialHTMLTargets to support modular access to canvas

* bind key events to canvas, not document

This way focus means focus and we can have multiple RA instances in
one page.

* Work around an emscripten bug in strict mode

* (Emscripten) Use console.error() for error messages

* increase asyncify stack size

* Fix `-lm` flag-related compile warnings in emscripten

---------

Co-authored-by: Rob Loach <robloach@gmail.com>
2023-11-02 13:25:50 -07:00
..
2020-02-27 01:34:42 +01:00
2023-10-16 06:56:45 -07:00
2018-09-29 19:46:46 +02:00
2015-08-31 21:10:31 +02:00
2022-03-03 14:28:38 +01:00
2018-10-08 16:39:04 -03:00
2015-09-16 10:24:39 +02:00
2020-03-30 05:39:22 +02:00
2018-03-20 08:35:17 +01:00
2023-07-17 12:46:49 +02:00
2023-07-17 12:46:49 +02:00
2019-01-17 19:39:38 -08:00
2023-07-17 12:46:49 +02:00
2022-01-19 18:53:15 +01:00