| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |