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

Side by Side Diff: tools/dom/docs/docs.json

Issue 23591046: Making Document, Element and Window documentable via @DocsEditable (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
OLDNEW
1 { 1 {
2 "dart.dom.html": { 2 "dart.dom.html": {
3 "CanvasGradient": { 3 "CanvasGradient": {
4 "comment": [ 4 "comment": [
5 "/**", 5 "/**",
6 " * An opaque canvas object representing a gradient.", 6 " * An opaque canvas object representing a gradient.",
7 " *", 7 " *",
8 " * Created by calling [createLinearGradient] or [createRadialGradient] on a", 8 " * Created by calling [createLinearGradient] or [createRadialGradient] on a",
9 " * [CanvasRenderingContext2D] object.", 9 " * [CanvasRenderingContext2D] object.",
10 " *", 10 " *",
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 " *", 108 " *",
109 " * The [type] can have values such as:", 109 " * The [type] can have values such as:",
110 " *", 110 " *",
111 " * * `'Text'`", 111 " * * `'Text'`",
112 " * * `'URL'`", 112 " * * `'URL'`",
113 " */" 113 " */"
114 ] 114 ]
115 } 115 }
116 }, 116 },
117 "Document": { 117 "Document": {
118 "comment": [
119 "/**",
120 " * The base class for all documents.",
121 " *",
122 " * Each web page loaded in the browser has its own [Document] object, w hich is",
123 " * typically an [HtmlDocument].",
124 " *",
125 " * If you aren't comfortable with DOM concepts, see the Dart tutorial",
126 " * [Target 2: Connect Dart & HTML](http://www.dartlang.org/docs/tutoria ls/connect-dart-html/).",
127 " */"
128 ],
118 "members": { 129 "members": {
119 "createElement": [ 130 "createElement": [
120 "/// Deprecated: use new Element.tag(tagName) instead." 131 "/// Deprecated: use new Element.tag(tagName) instead."
121 ], 132 ],
122 "querySelector": [ 133 "querySelector": [
123 "/**", 134 "/**",
124 " * Finds the first descendant element of this document that matches t he", 135 " * Finds the first descendant element of this document that matches t he",
125 " * specified group of selectors.", 136 " * specified group of selectors.",
126 " *", 137 " *",
127 " * Unless your webpage contains multiple documents, the top-level que ry", 138 " * Unless your webpage contains multiple documents, the top-level que ry",
128 " * method behaves the same as this method, so you should use it inste ad to", 139 " * method behaves the same as this method, so you should use it inste ad to",
129 " * save typing a few characters.", 140 " * save typing a few characters.",
130 " *", 141 " *",
131 " * [selectors] should be a string using CSS selector syntax.", 142 " * [selectors] should be a string using CSS selector syntax.",
132 " * var element1 = document.query('.className');", 143 " * var element1 = document.query('.className');",
133 " * var element2 = document.query('#id');", 144 " * var element2 = document.query('#id');",
134 " *", 145 " *",
135 " * For details about CSS selector syntax, see the", 146 " * For details about CSS selector syntax, see the",
136 " * [CSS selector specification](http://www.w3.org/TR/css3-selectors/) .", 147 " * [CSS selector specification](http://www.w3.org/TR/css3-selectors/) .",
137 " */" 148 " */"
138 ] 149 ]
139 } 150 }
140 }, 151 },
141 "Element": { 152 "Element": {
153 "comment": [
154 "/**",
155 " * An abstract class, which all HTML elements extend.",
156 " */"
157 ],
142 "members": { 158 "members": {
143 "querySelector": [ 159 "querySelector": [
144 "/**", 160 "/**",
145 " * Finds the first descendant element of this element that matches th e", 161 " * Finds the first descendant element of this element that matches th e",
146 " * specified group of selectors.", 162 " * specified group of selectors.",
147 " *", 163 " *",
148 " * [selectors] should be a string using CSS selector syntax.", 164 " * [selectors] should be a string using CSS selector syntax.",
149 " *", 165 " *",
150 " * // Gets the first descendant with the class 'classname'", 166 " * // Gets the first descendant with the class 'classname'",
151 " * var element = element.query('.className');", 167 " * var element = element.query('.className');",
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 " *", 535 " *",
520 " * [oldVersion] should match the database's current [version] exact ly.", 536 " * [oldVersion] should match the database's current [version] exact ly.",
521 " *", 537 " *",
522 " * * [Database.changeVersion](http://www.w3.org/TR/webdatabase/#dom -database-changeversion) from W3C.", 538 " * * [Database.changeVersion](http://www.w3.org/TR/webdatabase/#dom -database-changeversion) from W3C.",
523 " */" 539 " */"
524 ] 540 ]
525 } 541 }
526 } 542 }
527 } 543 }
528 } 544 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698