| OLD | NEW |
| 1 library dart.dom.web_sql; | 1 library dart.dom.web_sql; |
| 2 | 2 |
| 3 import 'dart:async'; | 3 import 'dart:async'; |
| 4 import 'dart:collection'; | 4 import 'dart:collection'; |
| 5 import 'dart:html'; | 5 import 'dart:html'; |
| 6 import 'dart:html_common'; | 6 import 'dart:html_common'; |
| 7 import 'dart:_js_helper' show convertDartClosureToJS, Creates, JavaScriptIndexin
gBehavior, JSName; | 7 import 'dart:_js_helper' show convertDartClosureToJS, Creates, JavaScriptIndexin
gBehavior, JSName; |
| 8 import 'dart:_foreign_helper' show JS; | 8 import 'dart:_foreign_helper' show JS; |
| 9 // DO NOT EDIT - unless you are editing documentation as per: | 9 // DO NOT EDIT - unless you are editing documentation as per: |
| 10 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation | 10 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 | 217 |
| 218 | 218 |
| 219 @DocsEditable | 219 @DocsEditable |
| 220 @DomName('SQLResultSetRowList') | 220 @DomName('SQLResultSetRowList') |
| 221 class SqlResultSetRowList implements JavaScriptIndexingBehavior, List<Map> nativ
e "*SQLResultSetRowList" { | 221 class SqlResultSetRowList implements JavaScriptIndexingBehavior, List<Map> nativ
e "*SQLResultSetRowList" { |
| 222 | 222 |
| 223 @DomName('SQLResultSetRowList.length') | 223 @DomName('SQLResultSetRowList.length') |
| 224 @DocsEditable | 224 @DocsEditable |
| 225 int get length => JS("int", "#.length", this); | 225 int get length => JS("int", "#.length", this); |
| 226 | 226 |
| 227 Map operator[](int index) => JS("Map", "#[#]", this, index); | 227 Map operator[](int index) => this.item(index); |
| 228 | 228 |
| 229 void operator[]=(int index, Map value) { | 229 void operator[]=(int index, Map value) { |
| 230 throw new UnsupportedError("Cannot assign element of immutable List."); | 230 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 231 } | 231 } |
| 232 // -- start List<Map> mixins. | 232 // -- start List<Map> mixins. |
| 233 // Map is the element type. | 233 // Map is the element type. |
| 234 | 234 |
| 235 // From Iterable<Map>: | 235 // From Iterable<Map>: |
| 236 | 236 |
| 237 Iterator<Map> get iterator { | 237 Iterator<Map> get iterator { |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 @DomName('SQLTransactionSync') | 441 @DomName('SQLTransactionSync') |
| 442 @SupportedBrowser(SupportedBrowser.CHROME) | 442 @SupportedBrowser(SupportedBrowser.CHROME) |
| 443 @SupportedBrowser(SupportedBrowser.SAFARI) | 443 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 444 @Experimental | 444 @Experimental |
| 445 class SqlTransactionSync native "*SQLTransactionSync" { | 445 class SqlTransactionSync native "*SQLTransactionSync" { |
| 446 | 446 |
| 447 @DomName('SQLTransactionSync.executeSql') | 447 @DomName('SQLTransactionSync.executeSql') |
| 448 @DocsEditable | 448 @DocsEditable |
| 449 SqlResultSet executeSql(String sqlStatement, List arguments) native; | 449 SqlResultSet executeSql(String sqlStatement, List arguments) native; |
| 450 } | 450 } |
| OLD | NEW |