Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(977)

Unified Diff: chrome/common/extensions/docs/templates/private/callback.html

Issue 121713002: Rework API reference pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@addscss_330235
Patch Set: Rebase Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 8666da5753615c3716a901d7042761262917538a..11a1d502fa7f4a3106939bfeafa4cda169c30311 100644
--- a/chrome/common/extensions/docs/templates/private/callback.html
+++ b/chrome/common/extensions/docs/templates/private/callback.html
@@ -1,5 +1,4 @@
{{#callback}}
-<p>
{{?optional}}
If you specify the <em>{{name}}</em> parameter, it should
specify a function that looks like this:
@@ -7,18 +6,18 @@
The <em>{{name}}</em> parameter should specify a function
that looks like this:
{{/optional}}
-</p>
-<pre>function({{#p:parameters}}{{+partials.variable_type type:p/}} {{p.name}}{{^p.last}}, {{/}}{{/}}) <span class="subdued">{...}</span>;</pre>
+ <br/>
+<code class="prettyprint">function({{#p:parameters}}{{+partials.variable_type type:p/}} {{p.name}}{{^p.last}}, {{/}}{{/}}) <span class="subdued">{...}</span>;</code>
{{?description}}
<p>
{{{description}}}
</p>
{{/description}}
{{?parameters}}
-<dl>
+ <table class="innerTable">
{{#p:parameters}}
{{+partials.parameter_full parameter:p parentName:name hideParamTOC:true /}}
{{/parameters}}
-</dl>
+ </table>
{{/parameters}}
{{/callback}}

Powered by Google App Engine
This is Rietveld 408576698