Releases: Sidorakh/wasm-bridge
Releases · Sidorakh/wasm-bridge
Uses document.title instead of console.log
Changes:
- Uses a custom getter/setter on
document.titleinstead of overridingconsole.logto pass data around (ability to change page title is preserved) - Any external functions called with an array passed into
run_js_functionwill be called using the Spread operator
Fix for special characters in paths
A line in both batch buildscripts was removed, caused issues with the default Steam IDE installation directory. May resolve #3
Fix for no return values
Added some code to account for JS functions returning nothing, undefined, or null. Fixes issue #2
2.1.0: Merge pull request #1 from Sidorakh/console.log-override
Added functions to allow direct buffer handling in JavaScript extensions, wasm_bridge_encode_buffer in GML; window.gmbuffer.set and window.gmbuffer.get in JavaScript
2.0.0
Didn't expect to write a massive breaking update for this. And then I did!
- Changed how the extension works, it now overrides
show_debug_message(console.log) instead ofget_string(window.prompt)- This means keyboard and mouse checks won't break anymore because that was happening
- Information is passed around using buffers instead of strings
1.1.2
1.1.1
Moving the libraries folder
Apparently I forgot that the extension folder gets cleared on updates. This moves libraries out to fix that
1.0.1
Initial Release
Initial release of this asset