Add syscall/js.valueInvoke support

This commit is contained in:
Konstantin Itskov
2019-09-15 20:12:24 -04:00
committed by Ayke
parent 61750be9aa
commit 4eb34b36f8
5 changed files with 93 additions and 11 deletions
+5
View File
@@ -1,3 +1,8 @@
invoke: clean wasm_exec
tinygo build -o ./html/wasm.wasm -target wasm -no-debug ./invoke/wasm.go
cp ./invoke/wasm.js ./html/
cp ./invoke/index.html ./html/
export: clean wasm_exec
tinygo build -o ./html/wasm.wasm -target wasm -no-debug ./export/wasm.go
cp ./export/wasm.js ./html/