1
0
mirror of https://github.com/golang/go synced 2024-11-05 17:36:15 -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 go.tools/godoc/static: indent with tabs. 2014-08-26 13:21:29 -07:00
dirlist.html go.tools/cmd: move static files into new package 'static' 2013-08-21 13:49:05 +10:00
doc.go tools: add import comments. 2014-12-09 22:42:16 +00:00
error.html go.tools/cmd: move static files into new package 'static' 2013-08-21 13:49:05 +10:00
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 go.tools/godoc/static: indent with tabs. 2014-08-26 13:21:29 -07:00
jquery.js go.tools/cmd: move static files into new package 'static' 2013-08-21 13:49:05 +10:00
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 go.tools/godoc/static: indent with tabs. 2014-08-26 13:21:29 -07:00
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 godoc: Add package identifiers to documentation indexing. 2014-01-06 13:26:25 -05:00
searchdoc.html go.tools/godoc/static: indent with tabs. 2014-08-26 13:21:29 -07:00
searchtxt.html godoc: add ability to change or disable the display of search results. 2014-01-06 09:51:01 -05:00
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