summaryrefslogtreecommitdiff
path: root/platform/javascript/js/dynlink.pre.js
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2020-12-05 00:37:41 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2020-12-05 00:55:07 +0100
commit611c4998e8ffcc891d562f18428b5c8d9211751e (patch)
tree789e6802376674d9660c36a6c83266ae4ab1d092 /platform/javascript/js/dynlink.pre.js
parentca34b5e57a79d843bb5a57f13fb2f674e1d801e7 (diff)
[HTML5] EditorRunNative works with GDNative.
This "breaks" our loading bar logic (libraries are not counted). Fixing it is non trivial and probably deserves investigating a different strategy.
Diffstat (limited to 'platform/javascript/js/dynlink.pre.js')
-rw-r--r--platform/javascript/js/dynlink.pre.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/javascript/js/dynlink.pre.js b/platform/javascript/js/dynlink.pre.js
index 6ac993bad0..34bc371ea9 100644
--- a/platform/javascript/js/dynlink.pre.js
+++ b/platform/javascript/js/dynlink.pre.js
@@ -1 +1 @@
-Module['dynamicLibraries'] = [Module['thisProgram'] + '.side.wasm'];
+Module['dynamicLibraries'] = [Module['thisProgram'] + '.side.wasm'].concat(Module['dynamicLibraries'] ? Module['dynamicLibraries'] : []);