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

Unified Diff: chrome/common/extensions/docs/server2/templates/private/footer.html

Issue 10834144: Extensions Docs Server: Split apps from extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/server2/templates/private/footer.html
diff --git a/chrome/common/extensions/docs/server2/templates/private/footer.html b/chrome/common/extensions/docs/server2/templates/private/footer.html
index d3f09589b6df4633c088948b983c8602fa5cc184..e52593a3ac4f3f60f9c1c34196c6943f8db6a922 100644
--- a/chrome/common/extensions/docs/server2/templates/private/footer.html
+++ b/chrome/common/extensions/docs/server2/templates/private/footer.html
@@ -9,6 +9,21 @@
<p>
©2012 Google
</p>
+ <script>
+ {{?is_apps}}
+ 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.
+ api_names: {{*api_list.apps.chrome}}.concat(
+ {{*api_list.apps.experimental}}),
+ branchInfo: {{*branchInfo}}
+ };
+ {{:}}
+ window.bootstrap = {
+ api_names: {{*api_list.extensions.chrome}}.concat(
+ {{*api_list.extensions.experimental}}),
+ branchInfo: {{*branchInfo}}
+ };
+ {{/is_apps}}
+ </script>
<script src="{{static}}/js/branch.js" type="text/javascript"></script>
<script src="{{static}}/js/sidebar.js" type="text/javascript"></script>
<script src="{{static}}/js/prettify.js" type="text/javascript"></script>
@@ -53,11 +68,5 @@
}, true);
</script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script>
- window.bootstrap = {
- api_names: {{*api_list.chrome}}.concat({{*api_list.experimental}}),
- branchInfo: {{*branchInfo}}
- };
- </script>
</div>
</div>

Powered by Google App Engine
This is Rietveld 408576698