]> Cypherpunks repositories - gostls13.git/commit
syscall/js: improve documentation about mappings to JavaScript values
authorRichard Musiol <mail@richard-musiol.de>
Tue, 31 Jul 2018 13:17:31 +0000 (15:17 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 31 Jul 2018 16:34:38 +0000 (16:34 +0000)
commitecec63c8a14229619fac41be9b64dd73aff29c79
tree176f39554e904807abfb93826fba05d7c86434f6
parent1a5350e123e9ef8ce4fb27470e58a4bb58a445f0
syscall/js: improve documentation about mappings to JavaScript values

This commit moves the documentation about how Go values are mapped to
JavaScript values to the functions that apply the mapping, instead of
mentioning them in the documentation of the types being mapped. This
should be easier to read.

Change-Id: I2465eb4a45f71b3b61624349e908a195010a09f1
Reviewed-on: https://go-review.googlesource.com/126856
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/syscall/js/callback.go
src/syscall/js/js.go
src/syscall/js/typedarray.go