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

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

Issue 406933003: Docserver: Show callback parameters in all callback references. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase/Address comment Created 6 years, 5 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 {{#callback}} 1 {{#callback}}
2 <p> 2 <p>
3 {{?optional}} 3 {{?optional}}
4 If you specify the <em>{{name}}</em> parameter, it should 4 If you specify the <em>{{name}}</em> parameter, it should
5 be a function that looks like this: 5 be a function that looks like this:
6 {{:optional}} 6 {{:optional}}
7 The <em>{{name}}</em> parameter should be a function 7 The <em>{{name}}</em> parameter should be a function
8 that looks like this: 8 that looks like this:
9 {{/optional}} 9 {{/optional}}
10 </p> 10 </p>
11 <code class="prettyprint">function({{#p:parameters}}{{+partials.variable_type ty pe:p/}} {{p.name}}{{^p.last}}, {{/}}{{/}}) <span class="subdued">{...}</span>;</ code> 11 <code class="prettyprint">function({{#p:parameters}}{{+partials.variable_type ty pe:p/}} {{p.name}}{{^p.last}}, {{/}}{{/}}) <span class="subdued">{...}</span>;</ code>
12 {{?description}} 12 {{?description}}
13 <p> 13 <p>
14 {{{description}}} 14 {{{description}}}
15 </p> 15 </p>
16 {{/description}} 16 {{/description}}
17 {{?parameters}} 17 {{?parameters}}
18 <table class="innerTable"> 18 <table class="innerTable">
19 {{#p:parameters}} 19 {{#p:parameters}}
20 {{+partials.parameter_full parameter:p parentName:name hideParamTOC:true /}} 20 {{+partials.parameter_full parameter:p
21 parentName:name
22 hideParamTOC:true /}}
not at google - send to devlin 2014/07/23 18:12:03 this is just a (unnecessary) formatting change rig
21 {{/parameters}} 23 {{/parameters}}
22 </table> 24 </table>
23 {{/parameters}} 25 {{/parameters}}
24 {{/callback}} 26 {{/callback}}
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/server2/cron.yaml ('k') | chrome/common/extensions/docs/templates/private/function_details.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698