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

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

Issue 61733018: Docserver: Update to the latest version of handlebar. Lots of re-syntaxifying. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments, rebase Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 {{#event}}
1 <div> 2 <div>
2 <h4 id="{{id}}">{{name}}</h4> 3 <h4 id="{{id}}">{{name}}</h4>
3 {{+partials.warning_deprecated item:@}} 4 {{+partials.warning_deprecated item:event/}}
4 <div class="description"> 5 <div class="description">
5 {{?description}}<p> 6 {{?description}}<p>
6 {{{description}}} 7 {{{description}}}
7 </p>{{/description}} 8 </p>{{/description}}
8 {{?supportsRules}} 9 {{?supportsRules}}
9 <p>Provides the <a href="events.html#declarative">Declarative Event API</a> 10 <p>Provides the <a href="events.html#declarative">Declarative Event API</a>
10 consisting of $ref:[events.Event.addRules addRules], 11 consisting of $ref:[events.Event.addRules addRules],
11 $ref:[events.Event.removeRules removeRules], and $ref:[events.Event.getRules 12 $ref:[events.Event.removeRules removeRules], and $ref:[events.Event.getRules
12 getRules].</p> 13 getRules].</p>
13 <div class="summary"> 14 <div class="summary">
14 {{+partials.function_signature function:byName.addRules 15 {{+partials.function_signature function:byName.addRules
15 parentName:name 16 parentName:name
16 api:api}} 17 api:api/}}
17 {{+partials.function_signature function:byName.removeRules 18 {{+partials.function_signature function:byName.removeRules
18 parentName:name 19 parentName:name
19 api:api}} 20 api:api/}}
20 {{+partials.function_signature function:byName.getRules 21 {{+partials.function_signature function:byName.getRules
21 parentName:name 22 parentName:name
22 api:api}} 23 api:api/}}
23 </div> 24 </div>
24 {{?conditions}} 25 {{?conditions}}
25 <h4>Supported conditions</h4> 26 <h4>Supported conditions</h4>
26 <ul> 27 <ul>
27 {{#conditions}}<div><li>{{+partials.ref_link}}</li></div>{{/}} 28 {{#c:conditions}}<div><li>{{+partials.ref_link link:c/}}</li></div>{{/}}
28 </ul> 29 </ul>
29 {{/conditions}} 30 {{/conditions}}
30 {{?actions}} 31 {{?actions}}
31 <h4>Supported actions</h4> 32 <h4>Supported actions</h4>
32 <ul> 33 <ul>
33 {{#actions}}<div><li>{{+partials.ref_link}}</li></div>{{/}} 34 {{#a:actions}}<div><li>{{+partials.ref_link link:a/}}</li></div>{{/}}
34 </ul> 35 </ul>
35 {{/actions}} 36 {{/actions}}
36 {{/supportsRules}} 37 {{/supportsRules}}
37 {{?filters}} 38 {{?filters}}
38 <h4>Filters</h4> 39 <h4>Filters</h4>
39 <dl> 40 <dl>
40 {{#filters}}{{+partials.parameter_full}}{{/}} 41 {{#f:filters +partials.parameter_full parameter:f/}}
41 </dl> 42 </dl>
42 {{/filters}} 43 {{/filters}}
43 {{?supportsListeners}} 44 {{?supportsListeners}}
44 {{+partials.function @:byName.addListener 45 {{+partials.function function:byName.addListener
45 parentName:name 46 parentName:name
46 api:api 47 api:api
47 parentId:id}} 48 parentId:id/}}
48 {{/supportsListeners}} 49 {{/supportsListeners}}
49 </div> 50 </div>
50 </div> 51 </div>
52 {{/event}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698