diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-01-26 10:06:29 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-05-20 14:33:18 +0200 |
commit | 9811035ebf14382442db677529e7800222c350bc (patch) | |
tree | 2be0dafe3dc294ab666aa23dff76cedbbeec06b2 /platform/javascript/SCsub | |
parent | eed483c481b82e1471b1ab0bd73506c30258c34a (diff) |
[HTML5] Implement Godot <-> JavaScript interface.
Diffstat (limited to 'platform/javascript/SCsub')
-rw-r--r-- | platform/javascript/SCsub | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/javascript/SCsub b/platform/javascript/SCsub index a760e36982..6717ae1920 100644 --- a/platform/javascript/SCsub +++ b/platform/javascript/SCsub @@ -6,7 +6,7 @@ javascript_files = [ "audio_driver_javascript.cpp", "display_server_javascript.cpp", "http_client_javascript.cpp", - "javascript_eval.cpp", + "javascript_singleton.cpp", "javascript_main.cpp", "os_javascript.cpp", "api/javascript_tools_editor_plugin.cpp", @@ -26,7 +26,7 @@ sys_env.AddJSLibraries( if env["tools"]: sys_env.AddJSLibraries(["js/libs/library_godot_editor_tools.js"]) if env["javascript_eval"]: - sys_env.AddJSLibraries(["js/libs/library_godot_eval.js"]) + sys_env.AddJSLibraries(["js/libs/library_godot_javascript_singleton.js"]) for lib in sys_env["JS_LIBS"]: sys_env.Append(LINKFLAGS=["--js-library", lib]) |