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

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

Issue 16410002: Docserver manifest follow up (rewrite) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gen-manifest-try-2
Patch Set: Small URL change Created 7 years, 6 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/manifest_example.html
diff --git a/chrome/common/extensions/docs/templates/private/manifest_example.html b/chrome/common/extensions/docs/templates/private/manifest_example.html
index ac4b730403b03ee33f43a1dabaebfe4a551fa9bb..e20c351321e9b117767d7e55b3e7717c4d8185ef 100644
--- a/chrome/common/extensions/docs/templates/private/manifest_example.html
+++ b/chrome/common/extensions/docs/templates/private/manifest_example.html
@@ -1,17 +1,25 @@
<pre>
{
<em>// Required</em>
- {{+partials.manifest_properties properties:manifest_source.required}}
+ {{#manifest_source.required}}
+ {{+partials.manifest_properties}}
+ {{/manifest_source.required}}
<em>// Recommended</em>
- {{+partials.manifest_properties properties:manifest_source.recommended}}
+ {{#manifest_source.recommended}}
+ {{+partials.manifest_properties}}
+ {{/manifest_source.recommended}}
{{?manifest_source.only_one}}
<em>// Pick one (or none)</em>
- {{+partials.manifest_properties properties:manifest_source.only_one}}
+ {{#manifest_source.only_one}}
+ {{+partials.manifest_properties}}
+ {{/manifest_source.only_one}}
{{/manifest_source.only_one}}
<em>// Optional</em>
- {{+partials.manifest_properties properties:manifest_source.optional}}
+ {{#manifest_source.optional}}
+ {{+partials.manifest_properties}}
+ {{/manifest_source.optional}}
}
</pre>

Powered by Google App Engine
This is Rietveld 408576698