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

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

Issue 61733018: Docserver: Update to the latest version of handlebar. Lots of re-syntaxifying. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments, rebase Created 7 years, 1 month 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/templates/private/table_of_contents.html
diff --git a/chrome/common/extensions/docs/templates/private/table_of_contents.html b/chrome/common/extensions/docs/templates/private/table_of_contents.html
index ad1393372ae7389904cfd2c44c5230cfcbfd0aac..bf1aef268b6537ab51669b6d20acdb69e01c5bac 100644
--- a/chrome/common/extensions/docs/templates/private/table_of_contents.html
+++ b/chrome/common/extensions/docs/templates/private/table_of_contents.html
@@ -1,12 +1,12 @@
<div id="toc">
<ol>
{{?has_toc}}
- {{#toc_items}}
+ {{#i:toc_items}}
<li>
- <a href="#{{link}}">{{{title}}}</a>
- {{?subheadings}}
+ <a href="#{{i.link}}">{{{i.title}}}</a>
+ {{?i.subheadings}}
<ol>
- {{#subheadings}}<li><a href="#{{link}}">{{{title}}}</a></li>{{/}}
+ {{#sh:i.subheadings}}<li><a href="#{{sh.link}}">{{{sh.title}}}</a></li>{{/}}
</ol>
{{/}}
</li>
@@ -17,37 +17,37 @@
<li>
<a href="#apiReference">Reference</a>
<ol>
- {{#api}}
- {{?types}}
+ {{#a:api}}
+ {{?a.types}}
<li>
- {{+partials.toc_types types:types}}
+ {{+partials.toc_types types:a.types/}}
</li>
- {{/types}}
- {{?properties}}
+ {{/a.types}}
+ {{?a.properties}}
<li>
- {{+partials.toc_properties properties:properties}}
+ {{+partials.toc_properties properties:a.properties/}}
</li>
- {{/properties}}
- {{?functions}}
+ {{/a.properties}}
+ {{?a.functions}}
<li>
- {{+partials.toc_functions functions:functions}}
+ {{+partials.toc_functions functions:a.functions/}}
</li>
- {{/functions}}
- {{?events}}
+ {{/a.functions}}
+ {{?a.events}}
<li>
- {{+partials.toc_events events:events}}
+ {{+partials.toc_events events:a.events/}}
</li>
- {{/events}}
- {{?domEvents}}
+ {{/a.events}}
+ {{?a.domEvents}}
<li>
- {{+partials.toc_dom_events domEvents:domEvents}}
+ {{+partials.toc_dom_events domEvents:a.domEvents/}}
</li>
- {{/domEvents}}
- {{?samples_list}}
+ {{/a.domEvents}}
+ {{?a.samples_list}}
<li>
- {{+partials.toc_samples title:title}}
+ {{+partials.toc_samples title:a.title/}}
</li>
- {{/samples_list}}
+ {{/a.samples_list}}
{{/api}}
</ol>
</li>

Powered by Google App Engine
This is Rietveld 408576698