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

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

Issue 12087112: Can now correctly add documentation to constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 "html": { 2 "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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 " *", 203 " *",
204 " * * [HTMLCanvasElement](https://developer.mozilla.org/en-US/docs/D OM/HTMLCanvasElement) from MDN.", 204 " * * [HTMLCanvasElement](https://developer.mozilla.org/en-US/docs/D OM/HTMLCanvasElement) from MDN.",
205 " *", 205 " *",
206 " * * [toDataUrl](http://dev.w3.org/html5/spec/the-canvas-element.ht ml#dom-canvas-todataurl) from W3C.", 206 " * * [toDataUrl](http://dev.w3.org/html5/spec/the-canvas-element.ht ml#dom-canvas-todataurl) from W3C.",
207 " */" 207 " */"
208 ], 208 ],
209 "width": [ 209 "width": [
210 "/// The width of this canvas element in CSS pixels." 210 "/// The width of this canvas element in CSS pixels."
211 ] 211 ]
212 } 212 }
213 },
214 "XMLHttpRequest": {
215 "members": {
216 "XMLHttpRequest": [
217 "/**",
218 " * General constructor for any type of request (GET, POST, etc).",
219 " *",
220 " * This call is used in conjunction with [open]:",
221 " *",
222 " * var request = new HttpRequest();",
223 " * request.open('GET', 'http://dartlang.org')",
224 " * request.on.load.add((event) => print('Request complete'));",
225 " *",
226 " * is the (more verbose) equivalent of",
227 " *",
228 " * var request = new HttpRequest.get('http://dartlang.org', (ev ent) => print('Request complete'));",
229 " */"
230 ]
231 }
213 } 232 }
214 } 233 }
215 } 234 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698