1
0
mirror of https://github.com/golang/go synced 2024-11-11 21:20:21 -07:00
go/misc/wasm
Richard Musiol db91ee3651 misc/wasm: pollute global JS namespace less
This commit changes wasm_exec.js so it only puts the single
name "go" into the global namespace. Other names became private
or were turned into a property/method of "go".

Change-Id: I633829dfd3c06936f092c0a14b9978bf855e41fe
Reviewed-on: https://go-review.googlesource.com/112980
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Agniva De Sarker <agniva.quicksilver@gmail.com>
2018-05-15 14:15:07 +00:00
..
go_js_wasm_exec misc/wasm: add scripts for running WebAssembly binaries 2018-03-30 05:13:31 +00:00
wasm_exec.html misc/wasm: pollute global JS namespace less 2018-05-15 14:15:07 +00:00
wasm_exec.js misc/wasm: pollute global JS namespace less 2018-05-15 14:15:07 +00:00