OLD | NEW |
1 /** | 1 /** |
2 * A client-side key-value store with support for indexes. | 2 * A client-side key-value store with support for indexes. |
3 * | 3 * |
4 * Many browsers support IndexedDB—a web standard for | 4 * Many browsers support IndexedDB—a web standard for |
5 * an indexed database. | 5 * an indexed database. |
6 * By storing data on the client in an IndexedDB, | 6 * By storing data on the client in an IndexedDB, |
7 * a web app gets some advantages, such as faster performance and persistence. | 7 * a web app gets some advantages, such as faster performance and persistence. |
8 * To find out which browsers support IndexedDB, | 8 * To find out which browsers support IndexedDB, |
9 * refer to [Can I Use?](http://caniuse.com/#feat=indexeddb) | 9 * refer to [Can I Use?](http://caniuse.com/#feat=indexeddb) |
10 * | 10 * |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 * [IndexedDB reference](http://docs.webplatform.org/wiki/apis/indexeddb) | 70 * [IndexedDB reference](http://docs.webplatform.org/wiki/apis/indexeddb) |
71 * provides wiki-style docs about indexedDB | 71 * provides wiki-style docs about indexedDB |
72 */ | 72 */ |
73 library dart.dom.indexed_db; | 73 library dart.dom.indexed_db; |
74 | 74 |
75 import 'dart:async'; | 75 import 'dart:async'; |
76 import 'dart:html'; | 76 import 'dart:html'; |
77 import 'dart:html_common'; | 77 import 'dart:html_common'; |
78 import 'dart:_native_typed_data'; | 78 import 'dart:_native_typed_data'; |
79 import 'dart:typed_data'; | 79 import 'dart:typed_data'; |
80 import 'dart:_js_helper' show Creates, Returns, JSName, Native, Null; | 80 import 'dart:_js_helper' show Creates, Returns, JSName, Native; |
81 import 'dart:_foreign_helper' show JS; | 81 import 'dart:_foreign_helper' show JS; |
82 import 'dart:_interceptors' show Interceptor, JSExtendableArray; | 82 import 'dart:_interceptors' show Interceptor, JSExtendableArray; |
83 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 83 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
84 // for details. All rights reserved. Use of this source code is governed by a | 84 // for details. All rights reserved. Use of this source code is governed by a |
85 // BSD-style license that can be found in the LICENSE file. | 85 // BSD-style license that can be found in the LICENSE file. |
86 | 86 |
87 // DO NOT EDIT - unless you are editing documentation as per: | 87 // DO NOT EDIT - unless you are editing documentation as per: |
88 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation | 88 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation |
89 // Auto-generated dart:svg library. | 89 // Auto-generated dart:svg library. |
90 | 90 |
(...skipping 1355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1446 @Creates('int|String|Null') | 1446 @Creates('int|String|Null') |
1447 @Returns('int|String|Null') | 1447 @Returns('int|String|Null') |
1448 final int newVersion; | 1448 final int newVersion; |
1449 | 1449 |
1450 @DomName('IDBVersionChangeEvent.oldVersion') | 1450 @DomName('IDBVersionChangeEvent.oldVersion') |
1451 @DocsEditable() | 1451 @DocsEditable() |
1452 @Creates('int|String|Null') | 1452 @Creates('int|String|Null') |
1453 @Returns('int|String|Null') | 1453 @Returns('int|String|Null') |
1454 final int oldVersion; | 1454 final int oldVersion; |
1455 } | 1455 } |
OLD | NEW |