diff --git a/godoc/static/godoc.html b/godoc/static/godoc.html index ee6a3a6d..c851c528 100644 --- a/godoc/static/godoc.html +++ b/godoc/static/godoc.html @@ -61,7 +61,6 @@ func main() {
{{with .Title}} -

{{html .}}

{{end}} {{with .Subtitle}} diff --git a/godoc/static/godocs.js b/godoc/static/godocs.js index 81dd1210..c4a61e06 100644 --- a/godoc/static/godocs.js +++ b/godoc/static/godocs.js @@ -232,15 +232,6 @@ function toggleHash() { } } -function addPlusButtons() { - var po = document.createElement('script'); - po.type = 'text/javascript'; - po.async = true; - po.src = 'https://apis.google.com/js/platform.js'; - var s = document.getElementsByTagName('script')[0]; - s.parentNode.insertBefore(po, s); -} - $(document).ready(function() { bindSearchEvents(); generateTOC(); @@ -256,7 +247,6 @@ $(document).ready(function() { setupTypeInfo(); setupCallgraphs(); toggleHash(); - addPlusButtons(); // godoc.html defines window.initFuncs in the tag, and root.html and // codewalk.js push their on-page-ready functions to the list. diff --git a/godoc/static/static.go b/godoc/static/static.go index a6c2207e..95ba8568 100644 --- a/godoc/static/static.go +++ b/godoc/static/static.go @@ -535,7 +535,6 @@ func main() {
{{with .Title}} -

{{html .}}

{{end}} {{with .Subtitle}} @@ -811,15 +810,6 @@ function toggleHash() { } } -function addPlusButtons() { - var po = document.createElement('script'); - po.type = 'text/javascript'; - po.async = true; - po.src = 'https://apis.google.com/js/platform.js'; - var s = document.getElementsByTagName('script')[0]; - s.parentNode.insertBefore(po, s); -} - $(document).ready(function() { bindSearchEvents(); generateTOC(); @@ -835,7 +825,6 @@ $(document).ready(function() { setupTypeInfo(); setupCallgraphs(); toggleHash(); - addPlusButtons(); // godoc.html defines window.initFuncs in the tag, and root.html and // codewalk.js push their on-page-ready functions to the list.