| OLD | NEW |
| 1 {{- Parameters: | 1 {{#function}} |
| 2 |api|: the schema for the API that the function belongs to | 2 <div class="summary{{^returns}}{{?api}} uncapitalize{{/}}{{/}}"> |
| 3 |function|: the schema for the function | |
| 4 |parentName|: name of the parent object of the function | |
| 5 -}} | |
| 6 <div class="summary{{^function.returns}}{{?api}} uncapitalize{{/}}{{/}}"> | |
| 7 {{+partials.function_signature function:function | 3 {{+partials.function_signature function:function |
| 8 parentName:parentName | 4 parentName:parentName |
| 9 api:api}} | 5 api:api/}} |
| 10 </div> | 6 </div> |
| 11 <div class="description"> | 7 <div class="description"> |
| 12 {{?function.description}} | 8 {{?description}} |
| 13 <p> | 9 <p> |
| 14 {{{function.description}}} | 10 {{{description}}} |
| 15 </p> | 11 </p> |
| 16 {{/function.description}} | 12 {{/description}} |
| 17 {{?function.parameters}} | 13 {{?parameters}} |
| 18 <h4>Parameters</h4> | 14 <h4>Parameters</h4> |
| 19 <dl> | 15 <dl> |
| 20 {{#function.parameters}} | 16 {{#p:parameters}} |
| 21 {{+partials.parameter_full}} | 17 {{+partials.parameter_full parameter:p/}} |
| 22 {{/function.parameters}} | 18 {{/parameters}} |
| 23 </dl> | 19 </dl> |
| 24 {{/function.parameters}} | 20 {{/parameters}} |
| 25 {{?function.callback}} | 21 {{?callback}} |
| 26 {{+partials.callback}} | 22 {{+partials.callback callback:callback/}} |
| 27 {{/function.callback}} | 23 {{/callback}} |
| 28 {{?function.returns.is_object}} | 24 {{?returns.is_object}} |
| 29 <h4>Properties of return type</h4> | 25 <h4>Properties of return type</h4> |
| 30 {{+partials.type @:function.returns}} | 26 {{+partials.type type:returns/}} |
| 31 {{/function.returns.is_object}} | 27 {{/returns.is_object}} |
| 32 </div> | 28 </div> |
| 29 {{/function}} |
| OLD | NEW |