1
0
mirror of https://github.com/golang/go synced 2024-11-18 14:14:46 -07:00
go/godoc/static
Rebecca Stambler 6be401e3f7 godoc/static: replace innerHTML with textContent
Setting innerHTML is a more heavyweight operation that supports HTML.
What's being done here doesn't use HTML, so it's viable to use the more
lightweight textContent.

Change-Id: I46e9359ffe776001836cc09fea88b04364870db7
Reviewed-on: https://go-review.googlesource.com/c/tools/+/235577
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2020-05-28 18:54:14 +00:00
..
analysis godoc/static/analysis: update user documentation 2015-06-26 20:38:07 +00:00
images godoc/static: update jquery.treeview to 1.4.2 2020-03-12 15:35:18 +00:00
callgraph.html
dirlist.html
doc.go
error.html
example.html godoc: add GoogleCN property to pages 2017-08-02 21:09:52 +00:00
gen_test.go all: fix some staticcheck errors 2020-01-29 04:53:41 +00:00
gen.go godoc/static: update copyright year to 2013 2020-01-02 16:51:58 +00:00
godoc.html cmd/godoc, godoc/static: remove remnants of golang.org website 2019-11-20 19:55:55 +00:00
godocs.js all: run prettier on js and css 2020-05-28 15:31:44 +00:00
implements.html
jquery.js
jquery.treeview.css godoc/static: update jquery.treeview to 1.4.2 2020-03-12 15:35:18 +00:00
jquery.treeview.edit.js godoc/static: update jquery.treeview to 1.4.2 2020-03-12 15:35:18 +00:00
jquery.treeview.js godoc/static: update jquery.treeview to 1.4.2 2020-03-12 15:35:18 +00:00
makestatic.go godoc/static: add test for static.go file generation 2018-05-03 19:34:25 +00:00
methodset.html
package.html godoc/static: re-add "or" function call to package.html template 2019-11-26 05:54:41 +00:00
packageroot.html godoc/vfs: improve implementation of RootType 2018-04-11 20:41:25 +00:00
play.js godoc/static: replace innerHTML with textContent 2020-05-28 18:54:14 +00:00
playground.js all: run prettier on js and css 2020-05-28 15:31:44 +00:00
search.html godoc: generate TOC from server-side for search page 2018-10-19 20:12:13 +00:00
searchcode.html
searchdoc.html
searchtxt.html
static.go godoc/static: replace innerHTML with textContent 2020-05-28 18:54:14 +00:00
style.css all: run prettier on js and css 2020-05-28 15:31:44 +00:00