| OLD | NEW |
| 1 /** | 1 /** |
| 2 * An API for storing data in the browser that can be queried with SQL. | 2 * An API for storing data in the browser that can be queried with SQL. |
| 3 * | 3 * |
| 4 * **Caution:** this specification is no longer actively maintained by the Web | 4 * **Caution:** this specification is no longer actively maintained by the Web |
| 5 * Applications Working Group and may be removed at any time. | 5 * Applications Working Group and may be removed at any time. |
| 6 * See [the W3C Web SQL Database specification](http://www.w3.org/TR/webdatabase
/) | 6 * See [the W3C Web SQL Database specification](http://www.w3.org/TR/webdatabase
/) |
| 7 * for more information. | 7 * for more information. |
| 8 * | 8 * |
| 9 * The [dart:indexed_db] APIs is a recommended alternatives. | 9 * The [dart:indexed_db] APIs is a recommended alternatives. |
| 10 */ | 10 */ |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 Iterable<Map> where(bool f(Map element)) => | 302 Iterable<Map> where(bool f(Map element)) => |
| 303 IterableMixinWorkaround.where(this, f); | 303 IterableMixinWorkaround.where(this, f); |
| 304 | 304 |
| 305 Iterable expand(Iterable f(Map element)) => | 305 Iterable expand(Iterable f(Map element)) => |
| 306 IterableMixinWorkaround.expand(this, f); | 306 IterableMixinWorkaround.expand(this, f); |
| 307 | 307 |
| 308 bool every(bool f(Map element)) => IterableMixinWorkaround.every(this, f); | 308 bool every(bool f(Map element)) => IterableMixinWorkaround.every(this, f); |
| 309 | 309 |
| 310 bool any(bool f(Map element)) => IterableMixinWorkaround.any(this, f); | 310 bool any(bool f(Map element)) => IterableMixinWorkaround.any(this, f); |
| 311 | 311 |
| 312 List<Map> toList({ bool growable: false }) => | 312 List<Map> toList({ bool growable: true }) => |
| 313 new List<Map>.from(this, growable: growable); | 313 new List<Map>.from(this, growable: growable); |
| 314 | 314 |
| 315 Set<Map> toSet() => new Set<Map>.from(this); | 315 Set<Map> toSet() => new Set<Map>.from(this); |
| 316 | 316 |
| 317 bool get isEmpty => this.length == 0; | 317 bool get isEmpty => this.length == 0; |
| 318 | 318 |
| 319 Iterable<Map> take(int n) => IterableMixinWorkaround.takeList(this, n); | 319 Iterable<Map> take(int n) => IterableMixinWorkaround.takeList(this, n); |
| 320 | 320 |
| 321 Iterable<Map> takeWhile(bool test(Map value)) { | 321 Iterable<Map> takeWhile(bool test(Map value)) { |
| 322 return IterableMixinWorkaround.takeWhile(this, test); | 322 return IterableMixinWorkaround.takeWhile(this, test); |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 488 @SupportedBrowser(SupportedBrowser.SAFARI) | 488 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 489 @Experimental | 489 @Experimental |
| 490 class SqlTransactionSync extends NativeFieldWrapperClass1 { | 490 class SqlTransactionSync extends NativeFieldWrapperClass1 { |
| 491 SqlTransactionSync.internal(); | 491 SqlTransactionSync.internal(); |
| 492 | 492 |
| 493 @DomName('SQLTransactionSync.executeSql') | 493 @DomName('SQLTransactionSync.executeSql') |
| 494 @DocsEditable | 494 @DocsEditable |
| 495 SqlResultSet executeSql(String sqlStatement, List arguments) native "SQLTransa
ctionSync_executeSql_Callback"; | 495 SqlResultSet executeSql(String sqlStatement, List arguments) native "SQLTransa
ctionSync_executeSql_Callback"; |
| 496 | 496 |
| 497 } | 497 } |
| OLD | NEW |