OLD | NEW |
---|---|
1 <div id="gc-footer"> | 1 <div id="gc-footer"> |
2 <div class="text"> | 2 <div class="text"> |
3 <p> | 3 <p> |
4 Except as otherwise <a href="http://code.google.com/policies.html#restrict ions">noted</a>, | 4 Except as otherwise <a href="http://code.google.com/policies.html#restrict ions">noted</a>, |
5 the content of this page is licensed under the <a rel="license" href="http ://creativecommons.org/licenses/by/3.0/">Creative Commons | 5 the content of this page is licensed under the <a rel="license" href="http ://creativecommons.org/licenses/by/3.0/">Creative Commons |
6 Attribution 3.0 License</a>, and code samples are licensed under the | 6 Attribution 3.0 License</a>, and code samples are licensed under the |
7 <a rel="license" href="http://code.google.com/google_bsd_license.html">BSD License</a>. | 7 <a rel="license" href="http://code.google.com/google_bsd_license.html">BSD License</a>. |
8 </p> | 8 </p> |
9 <p> | 9 <p> |
10 ©2012 Google | 10 ©2012 Google |
11 </p> | 11 </p> |
12 <script> | |
13 {{?is_apps}} | |
14 window.bootstrap = { | |
not at google - send to devlin
2012/08/06 22:01:24
you could move the checks inside the { so that bra
cduvall
2012/08/06 22:25:45
Done.
| |
15 api_names: {{*api_list.apps.chrome}}.concat( | |
16 {{*api_list.apps.experimental}}), | |
17 branchInfo: {{*branchInfo}} | |
18 }; | |
19 {{:}} | |
20 window.bootstrap = { | |
21 api_names: {{*api_list.extensions.chrome}}.concat( | |
22 {{*api_list.extensions.experimental}}), | |
23 branchInfo: {{*branchInfo}} | |
24 }; | |
25 {{/is_apps}} | |
26 </script> | |
12 <script src="{{static}}/js/branch.js" type="text/javascript"></script> | 27 <script src="{{static}}/js/branch.js" type="text/javascript"></script> |
13 <script src="{{static}}/js/sidebar.js" type="text/javascript"></script> | 28 <script src="{{static}}/js/sidebar.js" type="text/javascript"></script> |
14 <script src="{{static}}/js/prettify.js" type="text/javascript"></script> | 29 <script src="{{static}}/js/prettify.js" type="text/javascript"></script> |
15 <script src="{{static}}/js/filter.js" type="text/javascript"></script> | 30 <script src="{{static}}/js/filter.js" type="text/javascript"></script> |
16 <script> | 31 <script> |
17 (function() { | 32 (function() { |
18 // Auto syntax highlight all pre tags. | 33 // Auto syntax highlight all pre tags. |
19 var preElements = document.getElementsByTagName('pre'); | 34 var preElements = document.getElementsByTagName('pre'); |
20 for (var i = 0; i < preElements.length; i++) | 35 for (var i = 0; i < preElements.length; i++) |
21 preElements[i].classList.add('prettyprint'); | 36 preElements[i].classList.add('prettyprint'); |
(...skipping 24 matching lines...) Expand all Loading... | |
46 google.setOnLoadCallback(function() { | 61 google.setOnLoadCallback(function() { |
47 var customSearchOptions = {}; | 62 var customSearchOptions = {}; |
48 var customSearchControl = new google.search.CustomSearchControl( | 63 var customSearchControl = new google.search.CustomSearchControl( |
49 '007539736102453916271:q8_wzmg0804', customSearchOptions); | 64 '007539736102453916271:q8_wzmg0804', customSearchOptions); |
50 customSearchControl.setResultSetSize( | 65 customSearchControl.setResultSetSize( |
51 google.search.Search.FILTERED_CSE_RESULTSET); | 66 google.search.Search.FILTERED_CSE_RESULTSET); |
52 customSearchControl.draw('cse'); | 67 customSearchControl.draw('cse'); |
53 }, true); | 68 }, true); |
54 </script> | 69 </script> |
55 <script type="text/javascript">google.load("elements", "1", {packages: "tran sliteration"});</script> | 70 <script type="text/javascript">google.load("elements", "1", {packages: "tran sliteration"});</script> |
56 <script> | |
57 window.bootstrap = { | |
58 api_names: {{*api_list.chrome}}.concat({{*api_list.experimental}}), | |
59 branchInfo: {{*branchInfo}} | |
60 }; | |
61 </script> | |
62 </div> | 71 </div> |
63 </div> | 72 </div> |
OLD | NEW |