godot/platform/javascript
Fabio Alessandrelli 73f396572a [HTML5] PWA service worker prefers cached version.
Use an offline first approach, where we prefer the cached version over
the network one.
This forces games using PWA to always re-export the project and not just
the PCK, so that the service worker version gets updated correctly, and
the end-user cache is correctly cleared on update.
2022-02-06 18:33:13 +01:00
..
api Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
export [HTML5] PWA service worker prefers cached version. 2022-02-06 18:33:13 +01:00
js [HTML5] PWA service worker prefers cached version. 2022-02-06 18:33:13 +01:00
.eslintrc.engine.js [HTML5] Document Engine and EngineConfig (jsdoc). 2021-02-26 15:35:38 +01:00
.eslintrc.js HTML5: Fix minification error with Emscripten 1.39.9 2021-09-29 10:54:01 +02:00
.eslintrc.libs.js [HTML5] Refactor JS library listeners to OS. 2021-10-05 15:13:41 +02:00
README.md Add logo attribution for Android, HTML5 and Linux platform icons 2021-09-21 17:14:59 +02:00
SCsub [HTML5] Use absolute path for JS lib/pre/externs. 2021-11-29 16:11:56 +01:00
audio_driver_javascript.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
audio_driver_javascript.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
detect.py Force threads when compiling web editor instead of erroring out 2022-01-25 18:12:19 +01:00
dom_keys.inc Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
emscripten_helpers.py HTML5: Handle GODOT_VERSION_STATUS env var in @GODOT_VERSION@ 2021-09-21 17:14:58 +02:00
godot_audio.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
godot_js.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
godot_webgl2.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
godot_webgl2.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
http_client.h.inc Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
http_client_javascript.cpp [Net] Fix get_response_body_length for large files. 2022-01-25 18:23:04 +01:00
javascript_main.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
javascript_runtime.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
javascript_singleton.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
logo.png Optimize images losslessly using `oxipng -o6 --strip all --zopfli` 2019-10-12 23:23:33 +02:00
os_javascript.cpp Merge pull request #56755 from madmiraal/fix-45592-3.x 2022-01-24 10:06:24 +01:00
os_javascript.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
package-lock.json Add local web server configuration designed for web editor development 2022-01-25 18:23:39 +01:00
package.json Add local web server configuration designed for web editor development 2022-01-25 18:23:39 +01:00
platform_config.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
run_icon.png Optimize images losslessly using `oxipng -o6 --strip all --zopfli` 2018-06-28 19:17:41 +02:00
serve.json Add local web server configuration designed for web editor development 2022-01-25 18:23:39 +01:00

README.md

HTML5 platform port

This folder contains the C++ and JavaScript code for the HTML5/WebAssembly platform port, compiled using Emscripten.

It also contains a ESLint linting setup (see package.json).

See also misc/dist/html folder for files used by this platform such as the HTML5 shell.

Artwork license

logo.png and run_icon.png are licensed under Creative Commons Attribution 3.0 Unported per the HTML5 logo usage guidelines.