[release-branch.go1.3] go.tools/godoc: remove Google+ buttons

««« CL 138180043 / 9b1966d73f3f
go.tools/godoc: remove Google+ buttons

LGTM=bradfitz
R=golang-codereviews, bradfitz, dsymonds
CC=golang-codereviews
https://golang.org/cl/138180043
»»»

TBR=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/165390043
This commit is contained in:
Andrew Gerrand 2014-11-03 15:20:02 +11:00
parent e3235480e7
commit b5e7da4a16
3 changed files with 0 additions and 22 deletions

View File

@ -61,7 +61,6 @@ func main() {
<div class="container">
{{with .Title}}
<div id="plusone"><g:plusone size="small" annotation="none"></g:plusone></div>
<h1>{{html .}}</h1>
{{end}}
{{with .Subtitle}}

View File

@ -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 <head> tag, and root.html and
// codewalk.js push their on-page-ready functions to the list.

View File

@ -535,7 +535,6 @@ func main() {
<div class="container">
{{with .Title}}
<div id="plusone"><g:plusone size="small" annotation="none"></g:plusone></div>
<h1>{{html .}}</h1>
{{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 <head> tag, and root.html and
// codewalk.js push their on-page-ready functions to the list.