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

Side by Side Diff: chrome/common/extensions/docs/templates/private/function_details.html

Issue 22854025: Use the externally_connectable schema from manifest_types.json to generate its (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 4 months 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 {{- Parameters:
2 |api|: the schema for the API that the function belongs to 2 |api|: the schema for the API that the function belongs to
3 |function|: the schema for the function 3 |function|: the schema for the function
4 |parentName|: name of the parent object of the function 4 |parentName|: name of the parent object of the function
5 -}} 5 -}}
6 <div class="summary{{^function.returns}}{{?api}} uncapitalize{{/}}{{/}}"> 6 <div class="summary{{^function.returns}}{{?api}} uncapitalize{{/}}{{/}}">
7 <span>{{?function.returns}}{{+partials.variable_type}} {{/}}{{?api}}chrome.{{api .name}}{{/}}{{?parentName}}.{{parentName}}{{/}}.{{function.name}}</span>({{#func tion.parameters}}{{+partials.parameter_item}}{{^last}}, {{/}}{{/}}) 7 <span>{{?function.returns}}{{+partials.variable_type}} {{/}}{{?api}}chrome.{{api .name}}{{/}}{{?parentName}}.{{parentName}}{{/}}.{{function.name}}</span>({{#func tion.parameters}}{{+partials.parameter_item}}{{^last}}, {{/}}{{/}})
8 </div> 8 </div>
9 <div class="description"> 9 <div class="description">
10 {{?function.description}} 10 {{?function.description}}
11 <p> 11 <p>
12 {{{function.description}}} 12 {{{function.description}}}
13 </p> 13 </p>
14 {{/function.description}} 14 {{/function.description}}
15 {{?function.parameters}} 15 {{?function.parameters}}
16 <h4>Parameters</h4> 16 <h4>Parameters</h4>
17 <dl> 17 <dl>
18 {{#function.parameters}} 18 {{#function.parameters}}
19 {{+partials.parameter_full}} 19 {{+partials.parameter_full}}
20 {{/function.parameters}} 20 {{/function.parameters}}
21 </dl> 21 </dl>
22 {{/function.parameters}} 22 {{/function.parameters}}
23 {{?function.callback}} 23 {{?function.callback}}
24 {{+partials.callback}} 24 {{+partials.callback}}
25 {{/function.callback}} 25 {{/function.callback}}
26 {{?function.returns.is_object}} 26 {{?function.returns.is_object}}
27 <h4>Properties of return type</h4> 27 <h4>Properties of return type</h4>
28 {{+partials.type @:function.returns api:api}} 28 {{+partials.type @:function.returns}}
29 {{/function.returns.is_object}} 29 {{/function.returns.is_object}}
30 </div> 30 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698