| 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 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 583 " */" | 583 " */" |
| 584 ], | 584 ], |
| 585 "XMLHttpRequest": [ | 585 "XMLHttpRequest": [ |
| 586 "/**", | 586 "/**", |
| 587 " * General constructor for any type of request (GET, POST, etc).", | 587 " * General constructor for any type of request (GET, POST, etc).", |
| 588 " *", | 588 " *", |
| 589 " * This call is used in conjunction with [open]:", | 589 " * This call is used in conjunction with [open]:", |
| 590 " *", | 590 " *", |
| 591 " * var request = new HttpRequest();", | 591 " * var request = new HttpRequest();", |
| 592 " * request.open('GET', 'http://dartlang.org')", | 592 " * request.open('GET', 'http://dartlang.org')", |
| 593 " * request.on.load.add((event) => print('Request complete'));", | 593 " * request.onLoad.add((event) => print('Request complete'));", |
| 594 " *", | 594 " *", |
| 595 " * is the (more verbose) equivalent of", | 595 " * is the (more verbose) equivalent of", |
| 596 " *", | 596 " *", |
| 597 " * var request = new HttpRequest.get('http://dartlang.org',", | 597 " * HttpRequest.getString('http://dartlang.org').then(", |
| 598 " * (event) => print('Request complete'));", | 598 " * (result) => print('Request complete: $result'));", |
| 599 " */" | 599 " */" |
| 600 ] | 600 ] |
| 601 } | 601 } |
| 602 } | 602 } |
| 603 }, | 603 }, |
| 604 "dart.dom.web_sql": { | 604 "dart.dom.web_sql": { |
| 605 "Database": { | 605 "Database": { |
| 606 "members": { | 606 "members": { |
| 607 "changeVersion": [ | 607 "changeVersion": [ |
| 608 "/**", | 608 "/**", |
| 609 " * Atomically update the database version to [newVersion], asynchro
nously", | 609 " * Atomically update the database version to [newVersion], asynchro
nously", |
| 610 " * running [callback] on the [SqlTransaction] representing this", | 610 " * running [callback] on the [SqlTransaction] representing this", |
| 611 " * [changeVersion] transaction.", | 611 " * [changeVersion] transaction.", |
| 612 " *", | 612 " *", |
| 613 " * If [callback] runs successfully, then [successCallback] is calle
d.", | 613 " * If [callback] runs successfully, then [successCallback] is calle
d.", |
| 614 " * Otherwise, [errorCallback] is called.", | 614 " * Otherwise, [errorCallback] is called.", |
| 615 " *", | 615 " *", |
| 616 " * [oldVersion] should match the database's current [version] exact
ly.", | 616 " * [oldVersion] should match the database's current [version] exact
ly.", |
| 617 " *", | 617 " *", |
| 618 " * * [Database.changeVersion](http://www.w3.org/TR/webdatabase/#dom
-database-changeversion) from W3C.", | 618 " * * [Database.changeVersion](http://www.w3.org/TR/webdatabase/#dom
-database-changeversion) from W3C.", |
| 619 " */" | 619 " */" |
| 620 ] | 620 ] |
| 621 } | 621 } |
| 622 } | 622 } |
| 623 } | 623 } |
| 624 } | 624 } |
| OLD | NEW |