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

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

Issue 2714773003: Extension Docs: Correct how enum values are rendered. (Closed)
Patch Set: Rebase Created 3 years, 9 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
« no previous file with comments | « chrome/common/extensions/docs/templates/private/type.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/templates/private/variable_type.html
diff --git a/chrome/common/extensions/docs/templates/private/variable_type.html b/chrome/common/extensions/docs/templates/private/variable_type.html
index 0b9f232de94771815982d0099b8cbb4f2922aef4..9534f5ad7292dc9a7a02d910608a6d66f89044cb 100644
--- a/chrome/common/extensions/docs/templates/private/variable_type.html
+++ b/chrome/common/extensions/docs/templates/private/variable_type.html
@@ -18,7 +18,14 @@ array of {{+partials.variable_type type:array/}}
{{simple_type}}
{{/simple_type}}
{{?enum_values}}
-enum of {{#e:enum_values}}{{?e.last}}or {{/}}<code>"{{e.name}}"</code>{{^e.last}}, {{/}}{{/}}
+enum of
+{{#e:enum_values}}
+ {{^e.last}}
+ <code>"{{e.name}}"</code>,
+ {{:e.last}}
+ {{^e.first}}or {{/e.first}}<code>"{{e.name}}"</code>
+ {{/e.last}}
+{{/}}
{{/enum_values}}
{{?value}}
<code>{{value}}</code>
« no previous file with comments | « chrome/common/extensions/docs/templates/private/type.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698