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

Side by Side Diff: chrome/common/extensions/docs/templates/private/property.html

Issue 368973002: Docserver: Add more support for object level availability in templates (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 unified diff | Download patch
OLDNEW
1 {{#property}} 1 {{#property}}
2 <td>{{+partials.variable_type type:property/}}</td> 2 <td>{{+partials.variable_type type:property/}}</td>
3 <td>{{?optional}}<span class="optional">(optional)</span>{{/}} 3 <td>{{?optional}}<span class="optional">(optional)</span>{{/}}
4 {{name}}</td> 4 {{name}}</td>
5 <td> 5 <td>
6 {{?deprecated}} 6 {{?deprecated}}
7 {{+partials.warning_deprecated item:property/}} 7 {{+partials.warning_deprecated item:property/}}
8 {{/deprecated}} 8 {{/deprecated}}
9 {{?availability}}
10 <span class="availability">{{+availability.partial content:availability/}}</span >
11 {{/availability}}
12
9 {{?description}} 13 {{?description}}
10 {{{description}}} 14 {{{description}}}
11 {{/description}} 15 {{/description}}
12 {{?returns}} 16 {{?returns}}
13 <br/>Returns<span class="property"> 17 <br/>Returns<span class="property">
14 {{+partials.variable_type type:returns/}}. 18 {{+partials.variable_type type:returns/}}.
15 </span> 19 </span>
16 {{/returns}} 20 {{/returns}}
17 {{+partials.enum_descriptions enums:enum_values/}} 21 {{+partials.enum_descriptions enums:enum_values/}}
18 {{?array.is_object}} 22 {{?array.is_object}}
(...skipping 17 matching lines...) Expand all
36 parameter:p 40 parameter:p
37 parentName:name 41 parentName:name
38 hideParamTOC:hideParamTOC /}} 42 hideParamTOC:hideParamTOC /}}
39 </table> 43 </table>
40 {{/parameters}} 44 {{/parameters}}
41 {{?is_callback}} 45 {{?is_callback}}
42 {{?parentCallback +partials.callback callback:parentCallback/}} 46 {{?parentCallback +partials.callback callback:parentCallback/}}
43 {{/is_callback}} 47 {{/is_callback}}
44 </td> 48 </td>
45 {{/property}} 49 {{/property}}
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/templates/private/event.html ('k') | chrome/common/extensions/docs/templates/private/type.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698