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

Side by Side Diff: chrome/common/extensions/docs/templates/private/function_details.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 {{- Parameters: 1 {{#function}}
2 |api|: the schema for the API that the function belongs to 2 <div class="summary{{^returns}}{{?api}} uncapitalize{{/}}{{/}}">
3 |function|: the schema for the function
4 |parentName|: name of the parent object of the function
5 -}}
6 <div class="summary{{^function.returns}}{{?api}} uncapitalize{{/}}{{/}}">
7 {{+partials.function_signature function:function 3 {{+partials.function_signature function:function
8 parentName:parentName 4 parentName:parentName
9 api:api}} 5 api:api/}}
10 </div> 6 </div>
11 <div class="description"> 7 <div class="description">
12 {{?function.description}} 8 {{?description}}
13 <p> 9 <p>
14 {{{function.description}}} 10 {{{description}}}
15 </p> 11 </p>
16 {{/function.description}} 12 {{/description}}
17 {{?function.parameters}} 13 {{?parameters}}
18 <h4>Parameters</h4> 14 <h4>Parameters</h4>
19 <dl> 15 <dl>
20 {{#function.parameters}} 16 {{#p:parameters}}
21 {{+partials.parameter_full}} 17 {{+partials.parameter_full parameter:p/}}
22 {{/function.parameters}} 18 {{/parameters}}
23 </dl> 19 </dl>
24 {{/function.parameters}} 20 {{/parameters}}
25 {{?function.callback}} 21 {{?callback}}
26 {{+partials.callback}} 22 {{+partials.callback callback:callback/}}
27 {{/function.callback}} 23 {{/callback}}
28 {{?function.returns.is_object}} 24 {{?returns.is_object}}
29 <h4>Properties of return type</h4> 25 <h4>Properties of return type</h4>
30 {{+partials.type @:function.returns}} 26 {{+partials.type type:returns/}}
31 {{/function.returns.is_object}} 27 {{/returns.is_object}}
32 </div> 28 </div>
29 {{/function}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698