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

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

Issue 92143003: Docserver: Reorganise the site templates into a single site.html file which (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years 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 <div class="api_reference"> 1 <div class="api_reference">
2 {{- This is a span not a header-tag so that it doesn't show up in the TOC. -}} 2 {{- This is a span not a header-tag so that it doesn't show up in the TOC. -}}
3 <span id="api-reference-header">Reference</span> 3 <span id="api-reference-header">Reference</span>
4 {{?api.types}} 4 {{?api.types}}
5 <h2 id="types">Types</h2> 5 <h2 id="types">Types</h2>
6 {{#t:api.types}} 6 {{#t:api.types}}
7 {{+partials.type display_name:t.name type:t/}} 7 {{+partials.type display_name:t.name type:t/}}
8 {{/}} 8 {{/}}
9 {{/api.types}} 9 {{/api.types}}
10 {{?api.properties}} 10 {{?api.properties}}
(...skipping 20 matching lines...) Expand all
31 Listeners can be added for these events using the standard HTML 31 Listeners can be added for these events using the standard HTML
32 <a href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget.addE ventListener">addEventListener</a> 32 <a href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget.addE ventListener">addEventListener</a>
33 API. Listeners receive a custom <code>Event</code> object which can have 33 API. Listeners receive a custom <code>Event</code> object which can have
34 additional properties as listed with each event.</dd> 34 additional properties as listed with each event.</dd>
35 {{#e:api.domEvents}} 35 {{#e:api.domEvents}}
36 {{+partials.dom_event display_name:e.name event:e api:api/}} 36 {{+partials.dom_event display_name:e.name event:e api:api/}}
37 {{/api.domEvents}} 37 {{/api.domEvents}}
38 {{/api.domEvents}} 38 {{/api.domEvents}}
39 </div> 39 </div>
40 {{?samples_list}} 40 {{?samples_list}}
41 <h2 id="samples">Sample {{title}} that use chrome.{{api.name}}</h2> 41 <h2 id="samples">Sample {{platformTitle}} that use {{api.namespace}}</h2>
42 <ul> 42 <ul>
43 {{#sample:samples_list}} 43 {{#sample:samples_list}}
44 <li><strong><a href="samples.html#{{sample.id}}">{{sample.name}}</a></strong > 44 <li><strong><a href="samples.html#{{sample.id}}">{{sample.name}}</a></strong >
45 {{?sample.description}} 45 {{?sample.description}}
46 &ndash; {{sample.description}} 46 &ndash; {{sample.description}}
47 {{/sample.description}}</li> 47 {{/sample.description}}</li>
48 {{/samples_list}} 48 {{/samples_list}}
49 </ul> 49 </ul>
50 {{/samples_list}} 50 {{/samples_list}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698