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

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

Issue 23134003: More clean up for HttpRequest docs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 " * This value is ignored for same-site requests.", 593 " * This value is ignored for same-site requests.",
594 " */" 594 " */"
595 ], 595 ],
596 "XMLHttpRequest": [ 596 "XMLHttpRequest": [
597 "/**", 597 "/**",
598 " * General constructor for any type of request (GET, POST, etc).", 598 " * General constructor for any type of request (GET, POST, etc).",
599 " *", 599 " *",
600 " * This call is used in conjunction with [open]:", 600 " * This call is used in conjunction with [open]:",
601 " *", 601 " *",
602 " * var request = new HttpRequest();", 602 " * var request = new HttpRequest();",
603 " * request.open('GET', 'http://dartlang.org')", 603 " * request.open('GET', 'http://dartlang.org');",
604 " * request.onLoad.listen((event) => print('Request complete')); ", 604 " * request.onLoad.listen((event) => print(",
605 " * 'Request complete ${event.target.reponseText}'));",
606 " * request.send();",
605 " *", 607 " *",
606 " * is the (more verbose) equivalent of", 608 " * is the (more verbose) equivalent of",
607 " *", 609 " *",
608 " * HttpRequest.getString('http://dartlang.org').then(", 610 " * HttpRequest.getString('http://dartlang.org').then(",
609 " * (result) => print('Request complete: $result'));", 611 " * (result) => print('Request complete: $result'));",
610 " */" 612 " */"
611 ] 613 ]
612 } 614 }
613 } 615 }
614 }, 616 },
(...skipping 11 matching lines...) Expand all
626 " *", 628 " *",
627 " * [oldVersion] should match the database's current [version] exact ly.", 629 " * [oldVersion] should match the database's current [version] exact ly.",
628 " *", 630 " *",
629 " * * [Database.changeVersion](http://www.w3.org/TR/webdatabase/#dom -database-changeversion) from W3C.", 631 " * * [Database.changeVersion](http://www.w3.org/TR/webdatabase/#dom -database-changeversion) from W3C.",
630 " */" 632 " */"
631 ] 633 ]
632 } 634 }
633 } 635 }
634 } 636 }
635 } 637 }
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