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

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

Issue 149673004: Rework API reference pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bumped versions Created 6 years, 10 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
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 |disableLink|: if not null, no link will be shown for types
5 -}} 6 -}}
6 <div class="line"> 7 <code class="prettyprint">
7 <span>{{?r:function.returns}}{{+partials.variable_type type:r/}} {{/}}{{?api}}{{ api.namespace}}.{{/}}{{?parentName}}{{parentName}}.{{/}}{{function.name}}</span> ({{#p:function.parameters}}{{+partials.parameter_item parameter:p/}}{{^p.last}}, {{/}}{{/}}) 8 {{?r:function.returns}}{{+partials.variable_type type:r disableLink:disableLink/ }}
8 </div> 9 {{/}}{{?api}}{{api.namespace}}.{{/}}{{?parentName}}{{parentName}}.{{/}}{{functio n.name}}({{#p:function.parameters}}{{+partials.parameter_item parameter:p disabl eLink:disableLink/}}{{^p.last}}, {{/}}{{/}})
10 </code>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698