Index: chrome/common/extensions/docs/templates/private/function_signature.html |
diff --git a/chrome/common/extensions/docs/templates/private/function_signature.html b/chrome/common/extensions/docs/templates/private/function_signature.html |
index 40f3f0bc102778ab0cecadaabba2b2d9154bcfd5..5f35b3edb12dbd2758ab89a8588525b8f81b079e 100644 |
--- a/chrome/common/extensions/docs/templates/private/function_signature.html |
+++ b/chrome/common/extensions/docs/templates/private/function_signature.html |
@@ -2,7 +2,8 @@ |
|api|: the schema for the API that the function belongs to |
|function|: the schema for the function |
|parentName|: name of the parent object of the function |
+ |no_link|: if different of null, no link will be shown for types |
not at google - send to devlin
2014/01/03 23:30:24
no_link -> disableLink
also: "if not false, ..."
not at google - send to devlin
2014/01/03 23:31:43
ah i see that it's actually a matter of null vs no
Renato Mangini (chromium)
2014/02/06 03:19:17
Done.
|
-}} |
-<div class="line"> |
-<span>{{?r:function.returns}}{{+partials.variable_type type:r/}} {{/}}{{?api}}{{api.namespace}}.{{/}}{{?parentName}}{{parentName}}.{{/}}{{function.name}}</span>({{#p:function.parameters}}{{+partials.parameter_item parameter:p/}}{{^p.last}}, {{/}}{{/}}) |
-</div> |
+<code class="prettyprint"> |
+{{?r:function.returns}}{{+partials.variable_type type:r no_link:no_link/}} {{/}}{{?api}}{{api.namespace}}.{{/}}{{?parentName}}{{parentName}}.{{/}}{{function.name}}({{#p:function.parameters}}{{+partials.parameter_item parameter:p no_link:no_link/}}{{^p.last}}, {{/}}{{/}}) |
+</code> |