summaryrefslogtreecommitdiff
path: root/platform/javascript/javascript_singleton.cpp
AgeCommit message (Collapse)Author
2021-07-07[HTML5] Fix JavaScript string parsing with new interface.Fabio Alessandrelli
Strings are UTF-8 encoded and should be parsed as such, while it was being parsed as a C string before.
2021-06-18[HTML5] JS callback functions now returns passed value.Fabio Alessandrelli
JavaScript callbacks created via the `JavaScript.create_callback` method used to always return void. With this patch they return the value returned by the Godot function as one would expect.
2021-06-14[HTML5] Fix JS build without eval.Fabio Alessandrelli
Also fix download_buffer return type.
2021-05-21[HTML5] Add easy to use download API.Fabio Alessandrelli
New `JavaScript.download_buffer` method to create a prompt that let the user download a file.
2021-05-20[HTML5] Implement Godot <-> JavaScript interface.Fabio Alessandrelli