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