summaryrefslogtreecommitdiff
path: root/misc/dist/html/full-size.html
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2020-03-16 17:02:14 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2020-05-12 15:09:13 +0200
commit3097c2da963fe355c81816a74824170b6dce697c (patch)
tree8d2812233f4e1041b8bf984f04a438ce811c8f90 /misc/dist/html/full-size.html
parentd79e28c3021a4410f41a3bbff111d56b28f155ef (diff)
Add WebSocket debugger, use it for Javascript.
Diffstat (limited to 'misc/dist/html/full-size.html')
-rw-r--r--misc/dist/html/full-size.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/dist/html/full-size.html b/misc/dist/html/full-size.html
index c3b67e0c4a..435013cb5e 100644
--- a/misc/dist/html/full-size.html
+++ b/misc/dist/html/full-size.html
@@ -145,6 +145,7 @@ $GODOT_HEAD_INCLUDE
const EXECUTABLE_NAME = '$GODOT_BASENAME';
const MAIN_PACK = '$GODOT_BASENAME.pck';
+ const EXTRA_ARGS = JSON.parse('$GODOT_ARGS');
const INDETERMINATE_STATUS_STEP_MS = 100;
var canvas = document.getElementById('canvas');
@@ -254,7 +255,7 @@ $GODOT_HEAD_INCLUDE
} else {
setStatusMode('indeterminate');
engine.setCanvas(canvas);
- engine.startGame(EXECUTABLE_NAME, MAIN_PACK).then(() => {
+ engine.startGame(EXECUTABLE_NAME, MAIN_PACK, EXTRA_ARGS).then(() => {
setStatusMode('hidden');
initializing = false;
}, displayFailureNotice);