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