1
0
mirror of https://github.com/golang/go synced 2024-11-17 23:14:49 -07:00
go/misc
Richard Musiol 42b79f0823 misc/wasm: better adapt to different JavaScript environments
This change adds support for using wasm with Electron. It refactors
environment detection to a more modular approach instead of explicitly
testing for Node.js.

Fixes #29404

Change-Id: I882a9c56523744e7fd7cb2013d158df91cf91d14
Reviewed-on: https://go-review.googlesource.com/c/164665
Run-TryBot: Richard Musiol <neelance@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-03-03 17:55:52 +00:00
..
android misc/android: use adb exec-out instead of adb shell to avoid buffering 2019-03-02 22:21:49 +00:00
arm
cgo misc/cgo/testplugin: let TestMain run deferred functions 2019-03-01 21:33:27 +00:00
chrome/gophertool
git
ios misc/android,misc/ios: evaluate current working directory symlinks 2019-03-01 16:41:38 +00:00
linkcheck
nacl all: move cmd/internal/xcoff to internal/xcoff 2018-12-10 18:52:31 +00:00
swig cmd/go: fix swig support and run swig tests during run.bash 2017-11-16 17:19:19 +00:00
trace misc/trace: update trace_viewer_full.html 2018-04-26 20:26:23 +00:00
wasm misc/wasm: better adapt to different JavaScript environments 2019-03-03 17:55:52 +00:00
benchcmp
editors
go.mod misc: add go.mod file 2019-02-27 17:47:31 +00:00