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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 {{#callback}}
1 <h4>Callback</h4> 2 <h4>Callback</h4>
2 <p> 3 <p>
3 {{?optional}} 4 {{?optional}}
4 If you specify the <em>{{name}}</em> parameter, it should 5 If you specify the <em>{{name}}</em> parameter, it should
5 specify a function that looks like this: 6 specify a function that looks like this:
6 {{:optional}} 7 {{:optional}}
7 The <em>{{name}}</em> parameter should specify a function 8 The <em>{{name}}</em> parameter should specify a function
8 that looks like this: 9 that looks like this:
9 {{/optional}} 10 {{/optional}}
10 </p> 11 </p>
11 <pre>function({{#parameters}}{{+partials.variable_type}} {{name}}{{^last}}, {{/} }{{/}}) <span class="subdued">{...}</span>;</pre> 12 <pre>function({{#p:parameters}}{{+partials.variable_type type:p/}} {{p.name}}{{^ p.last}}, {{/}}{{/}}) <span class="subdued">{...}</span>;</pre>
12 {{?description}} 13 {{?description}}
13 <p> 14 <p>
14 {{{description}}} 15 {{{description}}}
15 </p> 16 </p>
16 {{/description}} 17 {{/description}}
17 {{?parameters}} 18 {{?parameters}}
18 <dl> 19 <dl>
19 {{#parameters}} 20 {{#p:parameters}}
20 {{+partials.parameter_full}} 21 {{+partials.parameter_full parameter:p/}}
21 {{/parameters}} 22 {{/parameters}}
22 </dl> 23 </dl>
23 {{/parameters}} 24 {{/parameters}}
25 {{/callback}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698