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-08-15 20:38:31 +02:00
2023-02-23 16:11:01 +01:00
2022-10-10 06:36:02 +02:00
2023-02-23 13:15:14 +01:00
2020-11-01 17:22:32 +01:00
2020-01-31 15:43:42 +01:00
2020-01-31 15:43:42 +01:00
2023-08-04 09:20:50 +02:00
2020-09-01 17:43:22 +02:00
2023-08-17 21:58:41 +02:00
2020-01-31 15:43:42 +01:00
2020-01-31 15:43:42 +01:00
2020-01-31 15:43:42 +01:00
2020-01-31 15:43:42 +01:00
2020-12-27 18:56:00 +01:00
2021-02-03 09:58:50 +01:00
2021-09-13 18:09:44 +02:00
2023-07-14 21:24:15 +02:00