1
0
mirror of https://github.com/taigrr/wasm-experiments synced 2025-01-18 04:03:21 -08:00

Add jsgo.io example

This commit is contained in:
Johan Brandhorst
2018-08-15 17:00:38 +01:00
parent 50d7c00276
commit 31e31e865c
823 changed files with 404944 additions and 1 deletions

View File

@@ -28,5 +28,9 @@ fetch:
cp $$(go1.11rc1 env GOROOT)/misc/wasm/wasm_exec.js ./html/wasm_exec.js
sed -i -e 's;</button>;</button>\n\t<div id=\"target\"></div>;' ./html/index.html
.PHONY: jsgo
jsgo:
wasmgo -c=go1.11rc1 deploy github.com/johanbrandhorst/wasm-experiments/jsgo
serve:
go run main.go