summaryrefslogtreecommitdiff
path: root/platform/javascript/SCsub
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2020-09-14 13:18:49 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2020-10-14 11:20:50 +0200
commit3dfb7691152c5bd6bce1b3e550d3978854d83ac7 (patch)
tree77389eec930a5a367f5d04aa1a19884122db3203 /platform/javascript/SCsub
parentec396c77079b9f2fb43748b12285a5fec6f905e2 (diff)
Add JavaScript editor html file.
Diffstat (limited to 'platform/javascript/SCsub')
-rw-r--r--platform/javascript/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/javascript/SCsub b/platform/javascript/SCsub
index a8861124b9..b57498b392 100644
--- a/platform/javascript/SCsub
+++ b/platform/javascript/SCsub
@@ -55,7 +55,7 @@ out_files = [
zip_dir.File(binary_name + ".wasm"),
zip_dir.File(binary_name + ".html"),
]
-html_file = "#misc/dist/html/full-size.html"
+html_file = "#misc/dist/html/editor.html" if env["tools"] else "#misc/dist/html/full-size.html"
in_files = [js_wrapped, build[1], html_file]
if env["threads_enabled"]:
in_files.append(build[2])