Bailey Gibbons 26d066d369 Add `add/remove_document_event_listener()` to `core:sys/wasm/js` hai 4 meses
..
js 26d066d369 Add `add/remove_document_event_listener()` to `core:sys/wasm/js` hai 4 meses
wasi 19f0127e55 Moved all packages in core, base, vendor, tests and examples to use new #+ file tag syntax. hai 1 ano
README.md 634fa7aa30 Move `vendor:wasm/js` to `core:sys/wasm/js` hai 1 ano

README.md

WASM on the Web

This directory is for use when targeting the js_wasm32 target and the packages that rely on it.

The js_wasm32 target assumes that the WASM output will be ran within a web browser rather than a standalone VM. In the VM cases, either wasi_wasm32 or freestanding_wasm32 should be used accordingly.

Example for js_wasm32

<!-- Copy `core:sys/wasm/js/odin.js` into your web server -->
<script type="text/javascript" src="odin.js"></script>
<script type="text/javascript">
	odin.runWasm(pathToWasm, consolePreElement);
</script>