| 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 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 throw new UnsupportedError("Cannot removeRange on immutable List."); | 441 throw new UnsupportedError("Cannot removeRange on immutable List."); |
| 442 } | 442 } |
| 443 | 443 |
| 444 void insertRange(int start, int rangeLength, [Map initialValue]) { | 444 void insertRange(int start, int rangeLength, [Map initialValue]) { |
| 445 throw new UnsupportedError("Cannot insertRange on immutable List."); | 445 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 446 } | 446 } |
| 447 | 447 |
| 448 List<Map> getRange(int start, int rangeLength) => | 448 List<Map> getRange(int start, int rangeLength) => |
| 449 Lists.getRange(this, start, rangeLength, <Map>[]); | 449 Lists.getRange(this, start, rangeLength, <Map>[]); |
| 450 | 450 |
| 451 Map<int, Map> asMap() => |
| 452 IterableMixinWorkaround.asMapList(this); |
| 453 |
| 451 // -- end List<Map> mixins. | 454 // -- end List<Map> mixins. |
| 452 | 455 |
| 453 @DomName('SQLResultSetRowList.item') | 456 @DomName('SQLResultSetRowList.item') |
| 454 @DocsEditable | 457 @DocsEditable |
| 455 Map item(int index) native "SQLResultSetRowList_item_Callback"; | 458 Map item(int index) native "SQLResultSetRowList_item_Callback"; |
| 456 | 459 |
| 457 } | 460 } |
| 458 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 461 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 459 // for details. All rights reserved. Use of this source code is governed by a | 462 // for details. All rights reserved. Use of this source code is governed by a |
| 460 // BSD-style license that can be found in the LICENSE file. | 463 // BSD-style license that can be found in the LICENSE file. |
| (...skipping 27 matching lines...) Expand all Loading... |
| 488 @SupportedBrowser(SupportedBrowser.SAFARI) | 491 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 489 @Experimental | 492 @Experimental |
| 490 class SqlTransactionSync extends NativeFieldWrapperClass1 { | 493 class SqlTransactionSync extends NativeFieldWrapperClass1 { |
| 491 SqlTransactionSync.internal(); | 494 SqlTransactionSync.internal(); |
| 492 | 495 |
| 493 @DomName('SQLTransactionSync.executeSql') | 496 @DomName('SQLTransactionSync.executeSql') |
| 494 @DocsEditable | 497 @DocsEditable |
| 495 SqlResultSet executeSql(String sqlStatement, List arguments) native "SQLTransa
ctionSync_executeSql_Callback"; | 498 SqlResultSet executeSql(String sqlStatement, List arguments) native "SQLTransa
ctionSync_executeSql_Callback"; |
| 496 | 499 |
| 497 } | 500 } |
| OLD | NEW |