Index: chrome/common/extensions/docs/templates/private/callback.html |
diff --git a/chrome/common/extensions/docs/templates/private/callback.html b/chrome/common/extensions/docs/templates/private/callback.html |
index 02499471c74a6be2d7f5a1f571fa586265063761..aaeb361305e95d6d7c15231aeeb050dc6f0af64d 100644 |
--- a/chrome/common/extensions/docs/templates/private/callback.html |
+++ b/chrome/common/extensions/docs/templates/private/callback.html |
@@ -1,17 +1,23 @@ |
-<h4>Callback function</h4> |
+<h4>Callback</h4> |
<p> |
{{?optional}} |
If you specify the <em>{{name}}</em> parameter, it should |
specify a function that looks like this: |
- {{:}} |
+ {{:optional}} |
The <em>{{name}}</em> parameter should specify a function |
that looks like this: |
- {{/}} |
+ {{/optional}} |
</p> |
<pre>function({{#parameters}}{{+partials.variable_type}} {{name}}{{^last}}, {{/}}{{/}}) <span class="subdued">{...}</span>;</pre> |
-{{?description}}<p> |
+{{?description}} |
+<p> |
{{{description}}} |
-</p>{{/}} |
+</p> |
+{{/description}} |
+{{?parameters}} |
<dl> |
- {{#parameters}}{{+partials.parameter_full}}{{/}} |
+ {{#parameters}} |
+ {{+partials.parameter_full}} |
+ {{/parameters}} |
</dl> |
+{{/parameters}} |