Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1467)

Unified Diff: godoc/static/static.go

Side-by-side diff isn't available for this file because of its large size.
Issue 165390043: code review 165390043: [release-branch.go1.3] go.tools/godoc: remove Google+ b... (Closed)
Patch Set: diff -r c530ac02acf667cc424f8895aa078ef6ec4eb74d https://code.google.com/p/go.tools Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Download patch
« no previous file with comments | « godoc/static/godocs.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: godoc/static/static.go
===================================================================
--- a/godoc/static/static.go
+++ b/godoc/static/static.go
@@ -535,7 +535,6 @@
<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 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 @@
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.
« no previous file with comments | « godoc/static/godocs.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b