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:
4
Makefile
4
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user