Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / common / extensions / docs / templates / private / function_signature.html
index 38f550b..9435b6c 100644 (file)
@@ -2,7 +2,9 @@
     |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
+    |disableLink|: if not null, no link will be shown for types
 -}}
-<div class="line">
-<span>{{?function.returns}}{{+partials.variable_type}} {{/}}{{?api}}{{+partials.api_namespace api:api}}{{/}}{{?parentName}}{{parentName}}.{{/}}{{function.name}}</span>({{#function.parameters}}{{+partials.parameter_item}}{{^last}}, {{/}}{{/}})
-</div>
+<code class="prettyprint">
+{{?r:function.returns}}{{+partials.variable_type type:r disableLink:disableLink/}}
+{{/}}{{?api}}{{api.namespace}}.{{/}}{{?parentName}}{{parentName}}.{{/}}{{function.name}}({{#p:function.parameters}}{{+partials.parameter_item parameter:p disableLink:disableLink/}}{{^p.last}}, {{/}}{{/}})
+</code>