Index: chrome/common/extensions/docs/templates/private/function.html |
diff --git a/chrome/common/extensions/docs/templates/private/function.html b/chrome/common/extensions/docs/templates/private/function.html |
index f295ead16f03e4e47693e6100a531b3dbf2c258a..ea57fe0ac39815f1da98bd3612be0aacff515821 100644 |
--- a/chrome/common/extensions/docs/templates/private/function.html |
+++ b/chrome/common/extensions/docs/templates/private/function.html |
@@ -1,8 +1,13 @@ |
{{!function The function to render}} |
<div> |
- <h4 id="{{?function.id}}{{function.id}}{{:}}{{?parentId}}{{parentId}}-{{function.name}}{{/}}{{/}}"> |
- {{function.name}} |
- </h4> |
+ {{?parentName}}<h4{{:}}<h3{{/}} |
+ {{- Might be an anonymous function. -}} |
+ {{?function.id}}id="{{function.id}}"{{/}} |
+ {{?hideParamTOC}}title=""{{/}}>{{function.name}} |
+ {{?parentName}}</h4>{{:}}</h3>{{/}} |
{{+partials.warning_deprecated item:function/}} |
- {{+partials.function_details function:function parentName:parentName api:api/}} |
+ {{+partials.function_details |
+ function:function |
+ parentName:parentName |
+ api:api/}} |
</div> |