godot/platform/javascript
Fabio Alessandrelli 4a50f5ff65 HTML5 callbacks rework.
Fixes compatibility with emscripten 1.39.5+ .
Most input callbacks now require a target and no longer support NULL
defaults.

This commit changes all required null targets to the expected default in
the binding phase.
Since for canvas-related callbacks there is no default, the "#canvas"
selector is used instead.
Additionally, since canvasX and canvasY event properties are no longer
supported, event positions are computed from "clientX" and "clientY" and
the "#canvas" bounding client rect.
2020-01-17 21:42:36 +01:00
..
api Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
export Properly close files served by debug HTTP server. 2020-01-14 17:07:06 +01:00
audio_driver_javascript.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
audio_driver_javascript.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
detect.py Emscripten: Re-add BINARYEN_TRAP_MODE='clamp' for fastcomp 2019-12-03 13:33:35 +01:00
dom_keys.inc Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
engine.js Fixed running the export templates with newer emscripten versions. 2019-10-01 15:41:19 +02:00
http_client_javascript.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
http_client.h.inc Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
http_request.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
http_request.js Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
id_handler.js Move IDHandler JS module to platform from Websock 2019-04-12 12:41:49 +02:00
javascript_eval.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
javascript_main.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
logo.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2019-10-12 23:23:33 +02:00
os_javascript.cpp HTML5 callbacks rework. 2020-01-17 21:42:36 +01:00
os_javascript.h HTML5: Address removal of 'timestamp' in Emscripten 1.39.5 2020-01-17 14:10:52 +01:00
platform_config.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
pre.js Add comments to javascript wrapper parts. 2018-10-15 08:56:44 -07:00
run_icon.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
SCsub Move IDHandler JS module to platform from Websock 2019-04-12 12:41:49 +02:00