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

Unified Diff: chrome/common/extensions/docs/templates/private/type.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/type.html
diff --git a/chrome/common/extensions/docs/templates/private/type.html b/chrome/common/extensions/docs/templates/private/type.html
index 12c3b9011a560c4c51d01a8949803b62569a79b1..df786d0d6f5e058dc16eabbfe5a8450bf1c5ff18 100644
--- a/chrome/common/extensions/docs/templates/private/type.html
+++ b/chrome/common/extensions/docs/templates/private/type.html
@@ -1,3 +1,4 @@
+{{#type}}
<div>
{{?display_name}}
<h3 id="{{id}}">{{display_name}}</h3>
@@ -6,37 +7,38 @@
{{^is_object}}
{{?enum_values}}
<dd>enum of
- {{#enum_values}}
- {{?@.last}}or {{/}}<code>"{{name}}"</code>{{^@.last}}, {{/}}
+ {{#e:enum_values}}
+ {{?e.last}}or {{/}}<code>"{{name}}"</code>{{^e.last}}, {{/}}
{{/enum_values}}
</dd>
{{:enum_values}}
<dd>
- {{+partials.variable_type}}
+ {{+partials.variable_type type:type/}}
</dd>
{{/enum_values}}
{{/is_object}}
{{?description}}
<dd>{{{description}}}</dd>
{{/description}}
- {{+partials.enum_descriptions values:enum_values}}
+ {{+partials.enum_descriptions values:enum_values/}}
{{?properties}}
{{+partials.type_item title:strings.properties
display_name:display_name
items:properties
- item_partial:partials.parameter_full}}
+ item_partial:partials.parameter_full/}}
{{/properties}}
{{?functions}}
{{+partials.type_item title:strings.methods
display_name:display_name
items:functions
- item_partial:partials.function}}
+ item_partial:partials.function/}}
{{/functions}}
{{?events}}
{{+partials.type_item title:strings.events
display_name:display_name
items:events
- item_partial:partials.event}}
+ item_partial:partials.event/}}
{{/events}}
</div>
</div>
+{{/type}}

Powered by Google App Engine
This is Rietveld 408576698