Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(576)

Side by Side Diff: chrome/common/extensions/docs/static/js/site.js

Issue 291663002: Adjustments to the fatnav and sidenav, and other CSS updates (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing copyright license. Fixed bad indentation on search.js Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
1 (function() { 5 (function() {
2 6
3 function addGplusButton() { 7 function addGplusButton() {
4 var po = document.createElement('script'); po.type = 'text/javascript'; po.asy nc = true; 8 var po = document.createElement('script'); po.type = 'text/javascript'; po.asy nc = true;
5 po.src = 'https://apis.google.com/js/plusone.js?onload=onLoadCallback'; 9 po.src = 'https://apis.google.com/js/plusone.js?onload=onLoadCallback';
6 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore( po, s); 10 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore( po, s);
7 } 11 }
8 12
9 function openFeedback(e) { 13 function openFeedback(e) {
10 e.preventDefault(); 14 e.preventDefault();
(...skipping 14 matching lines...) Expand all
25 pre.classList.add('prettyprint'); 29 pre.classList.add('prettyprint');
26 } 30 }
27 window.prettyPrint && prettyPrint(); 31 window.prettyPrint && prettyPrint();
28 } 32 }
29 33
30 prettyPrintCode(); 34 prettyPrintCode();
31 addGoogleFeedback(); 35 addGoogleFeedback();
32 addGplusButton(); 36 addGplusButton();
33 37
34 })(); 38 })();
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/static/js/search.js ('k') | chrome/common/extensions/docs/static/sass/_article.scss » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698