Most of this PR is standard procedure and no different than for Go 1.6 (#42), 1.7 (f710646cbcbab82c86bbab37044140b8f3fdac73 and cd0bdc59267f43378fdb8bb408e7249d5d6c5b13), etc.
Except 723a993616b88f326fbc49fdd37e2e46eec5c17c which was weird. See commit message for details. (Also see relevant #64.)
Test plan, I used goexec 'http.ListenAndServe(":8080", http.FileServer(http.Dir(".")))' to start an HTTP server serving contents of playground directory, then visited http://localhost:8080 in browser, hard-cleared all cache, and tested format button (both modes) and a small Go program. It worked without errors:
Using Go 1.8 (final) and GopherJS 1.8-1 (still on branch, https://github.com/gopherjs/gopherjs/pull/552) to generate this.
Most of this PR is standard procedure and no different than for Go 1.6 (#42), 1.7 (f710646cbcbab82c86bbab37044140b8f3fdac73 and cd0bdc59267f43378fdb8bb408e7249d5d6c5b13), etc.
Except 723a993616b88f326fbc49fdd37e2e46eec5c17c which was weird. See commit message for details. (Also see relevant #64.)
Test plan, I used
goexec 'http.ListenAndServe(":8080", http.FileServer(http.Dir(".")))'
to start an HTTP server serving contents of playground directory, then visited http://localhost:8080 in browser, hard-cleared all cache, and tested format button (both modes) and a small Go program. It worked without errors: