From 2972ea32297adfd9cc08c81dd85339679365f52e Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Sun, 7 Feb 2021 13:45:04 +0100 Subject: [PATCH] [HTML5] Easier HTML templates, better deinit/cleanup. --- misc/dist/html/editor.html | 131 ++++++----- misc/dist/html/full-size.html | 58 ++--- platform/javascript/.eslintrc.engine.js | 1 + platform/javascript/SCsub | 1 + .../javascript/display_server_javascript.cpp | 2 +- platform/javascript/export/export.cpp | 27 ++- platform/javascript/godot_js.h | 2 +- platform/javascript/js/engine/config.js | 100 ++++++++ platform/javascript/js/engine/engine.js | 219 ++++-------------- .../javascript/js/libs/library_godot_os.js | 34 ++- 10 files changed, 285 insertions(+), 290 deletions(-) create mode 100644 platform/javascript/js/engine/config.js diff --git a/misc/dist/html/editor.html b/misc/dist/html/editor.html index c2cfd96da5b..b4a8c69cc63 100644 --- a/misc/dist/html/editor.html +++ b/misc/dist/html/editor.html @@ -236,7 +236,7 @@ +