Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
playground: regenerate with GopherJS 1.12-2 and Go 1.12.13 #72
GopherJS 1.12-2 has added support for syscall/js package, so it should be available as part of imports. The syscall/js API is not included in the GOROOT/api/go1.*.txt files at this time, and so it needs to be added to mkstdlib.go explicitly. Use the mkapi.go program to determine the syscall/js API. Regenerate zstdlib.go with the updated generator, using Go 1.12.13: go1.12.13 generate github.com/gopherjs/gopherjs.github.io/playground/internal/imports Updates golang/go#27590
The playground doesn't really need much review (and we don't have much reviewer time available due to gopherjs/gopherjs#894), it just needs to continue to work. I've tested and will ensure it does.
If someone spots a problem in one of the commits, let me know, otherwise I plan to merge later today.