mirror of
https://github.com/golang/go
synced 2024-11-18 16:14:46 -07:00
The Go programming language
ebc87c5c5e
Today I learned that getElementByClass returns an HTMLContainer, not an array, so the for loop was iterating its properties, which include: - the methods of the type, which were filtered out by the condition; - the array-like integer indices of the elements, which we want; - the ids of the same elements (!), which we weren't expecting. The net result is that various functions were called twice, causing the tree to be double-populated and clicks to cause and expand+collapse. It's a miracle to me that any JS program even approximately works. Fixes golang/go#8237 LGTM=bradfitz R=gri, bradfitz CC=golang-codereviews https://golang.org/cl/141540043 |
||
---|---|---|
astutil | ||
blog | ||
cmd | ||
container/intsets | ||
cover | ||
dashboard | ||
go | ||
godoc | ||
imports | ||
oracle | ||
playground | ||
present | ||
refactor | ||
.hgignore | ||
AUTHORS | ||
codereview.cfg | ||
CONTRIBUTORS | ||
LICENSE | ||
PATENTS | ||
README |
This subrepository holds the source for various packages and tools that support the Go programming language. Some of the tools, godoc and vet for example, are included in binary Go distributions. Others, including the Go oracle and the test coverage tool, can be fetched with "go get". Packages include a type-checker for Go and an implementation of the Static Single Assignment form (SSA) representation for Go programs. To submit changes to this repository, see http://golang.org/doc/contribute.html.