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

Unified Diff: chrome/common/extensions/docs/templates/private/callback.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/callback.html
diff --git a/chrome/common/extensions/docs/templates/private/callback.html b/chrome/common/extensions/docs/templates/private/callback.html
index aaeb361305e95d6d7c15231aeeb050dc6f0af64d..2c1d73ed603c7fdc50d2de305ce303b8077556ee 100644
--- a/chrome/common/extensions/docs/templates/private/callback.html
+++ b/chrome/common/extensions/docs/templates/private/callback.html
@@ -1,3 +1,4 @@
+{{#callback}}
<h4>Callback</h4>
<p>
{{?optional}}
@@ -8,7 +9,7 @@
that looks like this:
{{/optional}}
</p>
-<pre>function({{#parameters}}{{+partials.variable_type}} {{name}}{{^last}}, {{/}}{{/}}) <span class="subdued">{...}</span>;</pre>
+<pre>function({{#p:parameters}}{{+partials.variable_type type:p/}} {{p.name}}{{^p.last}}, {{/}}{{/}}) <span class="subdued">{...}</span>;</pre>
{{?description}}
<p>
{{{description}}}
@@ -16,8 +17,9 @@
{{/description}}
{{?parameters}}
<dl>
- {{#parameters}}
- {{+partials.parameter_full}}
+ {{#p:parameters}}
+ {{+partials.parameter_full parameter:p/}}
{{/parameters}}
</dl>
{{/parameters}}
+{{/callback}}

Powered by Google App Engine
This is Rietveld 408576698