OLD | NEW |
---|---|
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
5 <title>Dart API Reference V3</title> | 5 <title>Dart API Reference V3</title> |
6 <link rel="stylesheet" type="text/css" | 6 <link rel="stylesheet" type="text/css" |
7 href="static/styles.css"> | 7 href="static/styles.css"> |
8 <link href="http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800 " rel="stylesheet" type="text/css"> | 8 <link href="http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800 " rel="stylesheet" type="text/css"> |
9 <link rel="shortcut icon" href="static/favicon.ico"> | 9 <link rel="shortcut icon" href="static/favicon.ico"> |
10 | 10 |
11 <link rel="stylesheet" type="text/css" href="static/apidoc-styles.css" /> | 11 <link rel="stylesheet" type="text/css" href="static/apidoc-styles.css" /> |
12 <link rel="components" href="doc_link.html"> | 12 <link rel="components" href="doc_link.html"> |
13 <link rel="components" href="element_summary.html"> | |
13 | 14 |
14 <script type="text/javascript"> | 15 <script type="text/javascript"> |
15 var _gaq = _gaq || []; | 16 var _gaq = _gaq || []; |
Siggi Cherem (dart-lang)
2012/12/19 19:47:33
is this standard google analytics code? maybe put
Jacob
2013/01/02 19:54:58
It is. Added comment.
| |
16 _gaq.push(["_setAccount", "UA-26406144-9"]); | 17 _gaq.push(["_setAccount", "UA-26406144-9"]); |
17 _gaq.push(["_trackPageview"]); | 18 _gaq.push(["_trackPageview"]); |
18 | 19 |
19 (function() { | 20 (function() { |
20 var ga = document.createElement("script"); | 21 var ga = document.createElement("script"); |
21 ga.type = "text/javascript"; ga.async = true; | 22 ga.type = "text/javascript"; ga.async = true; |
22 ga.src = ("https:" == document.location.protocol ? | 23 ga.src = ("https:" == document.location.protocol ? |
23 "https://ssl" : "http://www") + ".google-analytics.com/ga.js"; | 24 "https://ssl" : "http://www") + ".google-analytics.com/ga.js"; |
24 var s = document.getElementsByTagName("script")[0]; | 25 var s = document.getElementsByTagName("script")[0]; |
25 s.parentNode.insertBefore(ga, s); | 26 s.parentNode.insertBefore(ga, s); |
26 })(); | 27 })(); |
27 </script> | 28 </script> |
28 | 29 |
29 </head> | 30 </head> |
30 <body> | 31 <body> |
31 <template instantiate="if currentElement == null || currentElement.loading ! = true"> | 32 <template instantiate="if currentElement == null || currentElement.loading ! = true"> |
Siggi Cherem (dart-lang)
2012/12/19 19:47:33
similar suggestion: consider adding a property for
| |
32 <div class="page"> | 33 <div class="page"> |
33 <div class="header"> | 34 <div class="header"> |
34 <a href="http://dartlang.org" ref="external"><div class="logo"></div></a > | 35 <a href="http://dartlang.org" ref="external"><div class="logo"></div></a > |
35 <a href="#!">Dart API Reference</a> | 36 <a href="#!">Dart API Reference</a> |
36 | 37 |
37 <template instantiate="if currentLibrary != null"> | 38 <template instantiate="if currentLibrary != null"> |
38 <span>> </span> | 39 <span>> </span> |
39 <x-doc-link ref="{{currentLibrary}}"></x-doc-lin k> | 40 <x-doc-link ref="{{currentLibrary}}"></x-doc-lin k> |
Siggi Cherem (dart-lang)
2012/12/19 19:47:33
long line, unindent?
| |
40 </template> | 41 </template> |
41 | 42 |
42 <template instantiate="if currentType != null"> | 43 <template instantiate="if currentType != null"> |
43 <span>> </span> | 44 <span>> </span> |
44 <x-doc-link ref="{{currentType}}"></x-doc-link> | 45 <x-doc-link ref="{{currentType}}"></x-doc-link> |
45 </template> | 46 </template> |
46 | 47 |
47 <form action="http://www.dartlang.org/search.html" id="search-box"> | 48 <form action="http://www.dartlang.org/search.html" id="search-box"> |
48 <input type="hidden" name="cx" value="011220921317074318178:i4mscbaxtr u"> | 49 <input type="hidden" name="cx" value="011220921317074318178:i4mscbaxtr u"> |
49 <input type="hidden" name="ie" value="UTF-8"> | 50 <input type="hidden" name="ie" value="UTF-8"> |
50 <input type="hidden" name="hl" value="en"> | 51 <input type="hidden" name="hl" value="en"> |
51 <input type="search" name="q" id="q" autocomplete="off" | 52 <input type="search" name="q" id="q" autocomplete="off" |
52 class="search-input" placeholder="Search API. TODO(jacobr): implem ent"> | 53 class="search-input" placeholder="Search API. TODO(jacobr): implem ent"> |
53 </form> | 54 </form> |
54 </div> | 55 </div> |
55 | 56 |
56 <div class="drop-down" id="drop-down"></div> | |
57 | |
58 <div class="nav"> | 57 <div class="nav"> |
59 <template instantiate="if currentLibrary != null"> | 58 <template instantiate="if currentLibrary != null"> |
60 <ul> | 59 <ul class="tree-list"> |
61 <template iterate='clazz in currentLibrary.sortedClasses'> | 60 <template iterate='clazz in currentLibrary.sortedClasses'> |
62 <li class="{{kindCssClass(clazz)}}" data-id="{{clazz.id}}"> | 61 <li class="{{kindCssClass(clazz)}}" data-id="{{clazz.id}}"> |
63 <template instantiate="if currentType != clazz"> | 62 <template instantiate="if currentType != clazz"> |
64 <x-doc-link ref="{{clazz}}"></x-doc-link> | 63 <x-doc-link ref="{{clazz}}"></x-doc-link> |
65 </template> | 64 </template> |
66 <template instantiate="if currentType == clazz"> | 65 <template instantiate="if currentType == clazz"> |
67 <span>{{clazz.name}}</span> | 66 <span>{{clazz.shortDescription}}</span> |
68 <ul> | 67 <ul class="tree-list"> |
69 <template iterate="member in clazz.children"> | 68 <template iterate="member in clazz.children"> |
70 <li class="{{kindCssClass(member)}}" data-id="{{member.id} }"> | 69 <li class="{{kindCssClass(member)}}" data-id="{{member.id} }"> |
71 <a href="{{permalink(member)}}">{{member.shortDescriptio n}}</a></li> | 70 <a href="{{permalink(member)}}">{{member.shortDescriptio n}}</a></li> |
72 </template> | 71 </template> |
73 </ul> | 72 </ul> |
74 </template> | 73 </template> |
75 </li> | 74 </li> |
76 </template> | 75 </template> |
77 </ul> | 76 </ul> |
78 </template> | 77 </template> |
79 </div> | 78 </div> |
80 | 79 |
81 <div class="content"> | 80 <div class="content"> |
82 <template instantiate="if currentType != null"> | |
83 <div class="class-summary"> | |
84 <template instantiate="if currentType is ClassElement"> | |
85 <h4>Hierarchy</h4> | |
86 <x-class-hierarchy clazz="{{currentType}}"></x-class-hierarchy> | |
87 <template instantiate="if !currentType.interfaces.isEmpty"> | |
88 <h4>Implements</h4> | |
89 <ul> | |
90 <template iterate='interface in currentType.interfaces'> | |
91 <li> | |
92 <x-doc-link ref="{{interface}}"></x-doc-link> | |
93 </li> | |
94 </template> | |
95 </ul> | |
96 </template> | |
97 </template> | |
98 <h4>Source</h4> | |
99 <template instantiate="if currentType.uri != null"> | |
100 <a href="https://code.google.com/p/dart/source/browse/trunk/dart/{ {currentType.uri}}?r={{svnRevisionNumber}}#{{currentType.line}}" target="_blank" >{{currentType.uri}}</a> | |
101 </template> | |
102 </div> | |
103 </template> | |
104 <template instantiate="if currentLibrary == null"> | 81 <template instantiate="if currentLibrary == null"> |
105 <h2>Dart API Reference</h2> | 82 <h2>Dart API Reference</h2> |
106 <h3>Libraries</h3> | 83 <h3>Libraries</h3> |
107 » » <ul class="libraries"> | 84 » » <ul class="libraries tree-list"> |
Siggi Cherem (dart-lang)
2012/12/19 19:47:33
remove tabs (here and below)
Jacob
2013/01/02 19:54:58
Done.
| |
108 <template iterate='library in libraries.values'> | 85 <template iterate='library in libraries.values'> |
109 » » <li> | 86 » » <li class="{{kindCssClass(library)}}"> |
110 <x-doc-link ref="{{library}}"></x-doc-link> | 87 <x-doc-link ref="{{library}}"></x-doc-link> |
111 </li> | 88 </li> |
112 </template> | 89 </template> |
113 </ul> | 90 </ul> |
114 </template> | 91 </template> |
115 | 92 |
116 <template instantiate="if currentLibrary != null && currentType == null" > | 93 <template instantiate="if currentLibrary != null && currentType == null" > |
117 <div> | 94 <div> |
118 » » <div><h2><strong>{{currentLibrary.name}}</strong> library< /h2></div> | 95 » » <div><h2><strong>{{currentLibrary.shortDescription}}</stro ng> library</h2></div> |
96 | |
119 <template instantiate="if !currentLibrary.loading"> | 97 <template instantiate="if !currentLibrary.loading"> |
120 <div> | 98 <div> |
121 <template instantiate="if currentLibrary.c omment != null"> | 99 <template instantiate="if currentLibrary.c omment != null"> |
Siggi Cherem (dart-lang)
2012/12/19 19:47:33
fix indentation around here...
Jacob
2013/01/02 19:54:58
Done.
| |
122 <div>{{currentLibrary.commentHtml}}</div> | 100 <div>{{currentLibrary.commentHtml}}</div> |
123 </template> | 101 </template> |
124 | 102 |
125 <x-member-blocks blocks="{{currentLibrary.childBlocks}}"> | 103 <x-member-blocks blocks="{{currentLibrary.childBlocks}}"> |
126 </x-member-blocks> | 104 </x-member-blocks> |
127 </div> | 105 </div> |
128 </template> | 106 </template> |
129 </div> | 107 </div> |
130 </template> | 108 </template> |
131 | 109 |
132 <template instantiate="if currentType != null"> | 110 <template instantiate="if currentType != null"> |
133 <div> | 111 <div> |
134 <div><h2 class="{{kindCssClass(currentType)}}"><strong>{{currentType .name}}</strong> {{currentType.kind}}</h2></div> | 112 <h2 class="{{kindCssClass(currentType)}}"><strong>{{currentType.shor tDescription}}</strong> {{currentType.kindDescription}}</h2> |
113 <template instantiate="if currentType != null"> | |
114 <div class="class-summary"> | |
115 <template instantiate="if currentType is ClassElement"> | |
116 <h4>Hierarchy</h4> | |
117 <x-class-hierarchy clazz="{{currentType}}"></x-class-hierarchy > | |
118 <template instantiate="if !currentType.interfaces.isEmpty"> | |
119 <h4>Implements</h4> | |
120 <ul class="tree-list"> | |
121 <template iterate='interface in currentType.interfaces'> | |
122 <li> | |
123 <x-doc-link ref="{{interface}}"></x-doc-link> | |
124 </li> | |
125 </template> | |
126 </ul> | |
127 </template> | |
128 </template> | |
129 <h4>Source</h4> | |
130 <template instantiate="if currentType.uri != null"> | |
131 <a href="https://code.google.com/p/dart/source/browse/trunk/da rt/{{currentType.uri}}?r={{svnRevisionNumber}}#{{currentType.line}}" target="_bl ank">{{currentType.uri}}</a> | |
132 </template> | |
133 </div> | |
134 </template> | |
135 | |
135 <template instantiate="if currentType.comment != null"> | 136 <template instantiate="if currentType.comment != null"> |
136 <div>{{currentType.commentHtml}}</div> | 137 <div>{{currentType.commentHtml}}</div> |
137 </template> | 138 </template> |
138 </div> | 139 </div> |
139 <div> | 140 <div> |
140 <template instantiate="if currentType is ClassElement && !currentTyp e.subclasses.isEmpty"> | 141 <template instantiate="if currentType is ClassElement && !currentTyp e.subclasses.isEmpty"> |
141 <h3>Subclasses</h3> | 142 <h3>Subclasses</h3> |
142 <div class="subclasses"> | 143 <div class="subclasses"> |
143 <template iterate='clazz in currentType.subclasses'> | 144 <template iterate='clazz in currentType.subclasses'> |
144 <span><x-doc-link ref="{{clazz}}"></x-doc-link> </span> | 145 <span><x-doc-link ref="{{clazz}}"></x-doc-link> </span> |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
187 import 'resources.dart'; | 188 import 'resources.dart'; |
188 | 189 |
189 String status; | 190 String status; |
190 | 191 |
191 main() { | 192 main() { |
192 loadStateFromUrl(); | 193 loadStateFromUrl(); |
193 status = 'Loading...'; | 194 status = 'Loading...'; |
194 loadModel().then((_) { | 195 loadModel().then((_) { |
195 status = ''; | 196 status = ''; |
196 watchers.dispatch(); | 197 watchers.dispatch(); |
197 }); | 198 }); |
Siggi Cherem (dart-lang)
2012/12/19 19:47:33
nit: fix indentation (possibly tabs)
| |
198 } | 199 } |
199 </script> | 200 </script> |
200 </body> | 201 </body> |
201 </html> | 202 </html> |
OLD | NEW |