OLD | NEW |
1 <h4>Callback function</h4> | 1 <h4>Callback</h4> |
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 specify a function that looks like this: | 5 specify a function that looks like this: |
6 {{:}} | 6 {{:optional}} |
7 The <em>{{name}}</em> parameter should specify a function | 7 The <em>{{name}}</em> parameter should specify a function |
8 that looks like this: | 8 that looks like this: |
9 {{/}} | 9 {{/optional}} |
10 </p> | 10 </p> |
11 <pre>function({{#parameters}}{{+partials.variable_type}} {{name}}{{^last}}, {{/}
}{{/}}) <span class="subdued">{...}</span>;</pre> | 11 <pre>function({{#parameters}}{{+partials.variable_type}} {{name}}{{^last}}, {{/}
}{{/}}) <span class="subdued">{...}</span>;</pre> |
12 {{?description}}<p> | 12 {{?description}} |
| 13 <p> |
13 {{{description}}} | 14 {{{description}}} |
14 </p>{{/}} | 15 </p> |
| 16 {{/description}} |
| 17 {{?parameters}} |
15 <dl> | 18 <dl> |
16 {{#parameters}}{{+partials.parameter_full}}{{/}} | 19 {{#parameters}} |
| 20 {{+partials.parameter_full}} |
| 21 {{/parameters}} |
17 </dl> | 22 </dl> |
| 23 {{/parameters}} |
OLD | NEW |