| 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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 @DocsEditable() | 300 @DocsEditable() |
| 301 @annotation_Creates_SerializedScriptValue | 301 @annotation_Creates_SerializedScriptValue |
| 302 @annotation_Returns_SerializedScriptValue | 302 @annotation_Returns_SerializedScriptValue |
| 303 final dynamic _get_value; | 303 final dynamic _get_value; |
| 304 } | 304 } |
| 305 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 305 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 306 // for details. All rights reserved. Use of this source code is governed by a | 306 // for details. All rights reserved. Use of this source code is governed by a |
| 307 // BSD-style license that can be found in the LICENSE file. | 307 // BSD-style license that can be found in the LICENSE file. |
| 308 | 308 |
| 309 | 309 |
| 310 /** |
| 311 * An indexed database object for storing client-side data |
| 312 * in web apps. |
| 313 */ |
| 310 @DocsEditable() | 314 @DocsEditable() |
| 311 @DomName('IDBDatabase') | 315 @DomName('IDBDatabase') |
| 312 @SupportedBrowser(SupportedBrowser.CHROME) | 316 @SupportedBrowser(SupportedBrowser.CHROME) |
| 313 @SupportedBrowser(SupportedBrowser.FIREFOX, '15') | 317 @SupportedBrowser(SupportedBrowser.FIREFOX, '15') |
| 314 @SupportedBrowser(SupportedBrowser.IE, '10') | 318 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 315 @Experimental() | 319 @Experimental() |
| 316 @Unstable() | 320 @Unstable() |
| 317 class Database extends EventTarget native "IDBDatabase" { | 321 class Database extends EventTarget native "IDBDatabase" { |
| 318 @DomName('IDBDatabase.createObjectStore') | 322 @DomName('IDBDatabase.createObjectStore') |
| 319 @DocsEditable() | 323 @DocsEditable() |
| (...skipping 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1335 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1339 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1336 // for details. All rights reserved. Use of this source code is governed by a | 1340 // for details. All rights reserved. Use of this source code is governed by a |
| 1337 // BSD-style license that can be found in the LICENSE file. | 1341 // BSD-style license that can be found in the LICENSE file. |
| 1338 | 1342 |
| 1339 | 1343 |
| 1340 @DocsEditable() | 1344 @DocsEditable() |
| 1341 @DomName('IDBAny') | 1345 @DomName('IDBAny') |
| 1342 @deprecated // nonstandard | 1346 @deprecated // nonstandard |
| 1343 abstract class _IDBAny extends Interceptor native "IDBAny" { | 1347 abstract class _IDBAny extends Interceptor native "IDBAny" { |
| 1344 } | 1348 } |
| OLD | NEW |