[HTML5] Add easy to use download API.

New `JavaScript.download_buffer` method to create a prompt that let the
user download a file.
This commit is contained in:
Fabio Alessandrelli 2021-05-19 15:53:04 +02:00
parent 8c2beeea90
commit fdf66a21f1
8 changed files with 51 additions and 61 deletions

View file

@ -23,8 +23,6 @@ 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_javascript_singleton.js"])