From 4e0945340739bb9d1a8fdf30dfff12a7650c86a1 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Mon, 25 Jan 2021 04:48:11 +0100 Subject: [HTML5] Better editor HTML, small refactor. Side and GDNative libraries are now added by engine.js , the dynlink pre js had been deleted. --- platform/javascript/js/engine/engine.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/javascript/js/engine') diff --git a/platform/javascript/js/engine/engine.js b/platform/javascript/js/engine/engine.js index 4b8a7dde69..01232cbece 100644 --- a/platform/javascript/js/engine/engine.js +++ b/platform/javascript/js/engine/engine.js @@ -62,7 +62,7 @@ const Engine = (function () { // Emscripten configuration. config['thisProgram'] = me.executableName; config['noExitRuntime'] = true; - config['dynamicLibraries'] = me.gdnativeLibs; + config['dynamicLibraries'] = [`${me.executableName}.side.wasm`].concat(me.gdnativeLibs); Godot(config).then(function (module) { module['initFS'](me.persistentPaths).then(function (fs_err) { me.rtenv = module; -- cgit v1.2.3