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

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

Issue 12186024: Finished porting code from the old html-json docs. (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
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 " * document.body.elements.add(elem);", 243 " * document.body.elements.add(elem);",
244 " *", 244 " *",
245 " * See also:", 245 " * See also:",
246 " *", 246 " *",
247 " * * [HTML <div> element](http://www.w3.org/TR/html-markup/div.html) fr om W3C.", 247 " * * [HTML <div> element](http://www.w3.org/TR/html-markup/div.html) fr om W3C.",
248 " * * [Block-level element](http://www.w3.org/TR/CSS2/visuren.html#block -boxes) from W3C.", 248 " * * [Block-level element](http://www.w3.org/TR/CSS2/visuren.html#block -boxes) from W3C.",
249 " * * [Inline-level element](http://www.w3.org/TR/CSS2/visuren.html#inli ne-boxes) from W3C.", 249 " * * [Inline-level element](http://www.w3.org/TR/CSS2/visuren.html#inli ne-boxes) from W3C.",
250 " */" 250 " */"
251 ] 251 ]
252 }, 252 },
253 "HTMLMenuElement": {
254 "comment": [
255 "/**",
256 " * An HTML <menu> element.",
257 " *",
258 " * A <menu> element represents an unordered list of menu commands.",
259 " *",
260 " * See also:",
261 " *",
262 " * * [Menu Element](https://developer.mozilla.org/en-US/docs/HTML/Elem ent/menu) from MDN.",
263 " * * [Menu Element](http://www.w3.org/TR/html5/the-menu-element.html#t he-menu-element) from the W3C.",
264 " */"
265 ]
266 },
253 "XMLHttpRequest": { 267 "XMLHttpRequest": {
254 "members": { 268 "members": {
255 "abort": [ 269 "abort": [
256 "/**", 270 "/**",
257 " * Stop the current request.", 271 " * Stop the current request.",
258 " *", 272 " *",
259 " * The request can only be stopped if readyState is `HEADERS_RECIEV ED` or", 273 " * The request can only be stopped if readyState is `HEADERS_RECIEV ED` or",
260 " * `LOADING`. If this method is not in the process of being sent, t he method", 274 " * `LOADING`. If this method is not in the process of being sent, t he method",
261 " * has no effect.", 275 " * has no effect.",
262 " */" 276 " */"
(...skipping 11 matching lines...) Expand all
274 " */" 288 " */"
275 ], 289 ],
276 "getResponseHeader": [ 290 "getResponseHeader": [
277 "/**", 291 "/**",
278 " * Return the response header named `header`, or `null` if not foun d.", 292 " * Return the response header named `header`, or `null` if not foun d.",
279 " *", 293 " *",
280 " * See also [HTTP response headers](http://en.wikipedia.org/wiki/Li st_of_HTTP_header_fields#Responses)", 294 " * See also [HTTP response headers](http://en.wikipedia.org/wiki/Li st_of_HTTP_header_fields#Responses)",
281 " * for a list of common response headers.", 295 " * for a list of common response headers.",
282 " */" 296 " */"
283 ], 297 ],
298 "onabort": [
299 "/**",
300 " * Event listeners to be notified when request has been aborted,",
301 " * generally due to calling `httpRequest.abort()`.",
302 " */"
303 ],
304 "onerror": [
305 "/**",
306 " * Event listeners to be notified when a request has failed, such a s when a",
307 " * cross-domain error occurred or the file wasn't found on the serv er.",
308 " */"
309 ],
310 "onload": [
311 "/**",
312 " * Event listeners to be notified once the request has completed",
313 " * *successfully*.",
314 " */"
315 ],
316 "onloadend": [
317 "/**",
318 " * Event listeners to be notified once the request has completed (o n",
319 " * either success or failure).",
320 " */"
321 ],
322 "onloadstart": [
323 "/**",
324 " * Event listeners to be notified when the request starts, once",
325 " * `httpRequest.send()` has been called.",
326 " */"
327 ],
328 "onprogress": [
329 "/**",
330 " * Event listeners to be notified when data for the request",
331 " * is being sent or loaded.",
332 " *",
333 " * Progress events are fired every 50ms or for every byte transmitt ed,",
334 " * whichever is less frequent.",
335 " */"
336 ],
337 "onreadystatechange": [
338 "/**",
339 " * Event listeners to be notified every time the [HttpRequest]",
340 " * object's `readyState` changes values.",
341 " */"
342 ],
284 "open": [ 343 "open": [
285 "/**", 344 "/**",
286 " * Specify the desired `url`, and `method` to use in making the req uest.", 345 " * Specify the desired `url`, and `method` to use in making the req uest.",
287 " *", 346 " *",
288 " * By default the request is done asyncronously, with no user or pa ssword", 347 " * By default the request is done asyncronously, with no user or pa ssword",
289 " * authentication information. If `async` is false, the request wil l be send", 348 " * authentication information. If `async` is false, the request wil l be send",
290 " * synchronously.", 349 " * synchronously.",
291 " *", 350 " *",
292 " * Calling `open` again on a currently active request is equivalent to", 351 " * Calling `open` again on a currently active request is equivalent to",
293 " * calling `abort`.", 352 " * calling `abort`.",
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 " * is the (more verbose) equivalent of", 478 " * is the (more verbose) equivalent of",
420 " *", 479 " *",
421 " * var request = new HttpRequest.get('http://dartlang.org',", 480 " * var request = new HttpRequest.get('http://dartlang.org',",
422 " * (event) => print('Request complete'));", 481 " * (event) => print('Request complete'));",
423 " */" 482 " */"
424 ] 483 ]
425 } 484 }
426 } 485 }
427 } 486 }
428 } 487 }
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698