| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // DO NOT EDIT | 5 // DO NOT EDIT |
| 6 // Auto-generated dart:indexed_db library. | 6 // Auto-generated dart:indexed_db library. |
| 7 | 7 |
| 8 /** | 8 /** |
| 9 * A client-side key-value store with support for indexes. | 9 * A client-side key-value store with support for indexes. |
| 10 * | 10 * |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 * | 62 * |
| 63 * ## Other resources | 63 * ## Other resources |
| 64 * | 64 * |
| 65 * Other options for client-side data storage include: | 65 * Other options for client-side data storage include: |
| 66 * | 66 * |
| 67 * * [Window.localStorage]—a | 67 * * [Window.localStorage]—a |
| 68 * basic mechanism that stores data as a [Map], | 68 * basic mechanism that stores data as a [Map], |
| 69 * and where both the keys and the values are strings. | 69 * and where both the keys and the values are strings. |
| 70 * | 70 * |
| 71 * * [dart:web_sql]—a database that can be queried with SQL. | 71 * * [dart:web_sql]—a database that can be queried with SQL. |
| 72 * | 72 * |
| 73 * For a tutorial about using the indexed_db library with Dart, | 73 * For a tutorial about using the indexed_db library with Dart, |
| 74 * check out | 74 * check out |
| 75 * [Use IndexedDB](http://www.dartlang.org/docs/tutorials/indexeddb/). | 75 * [Use IndexedDB](http://www.dartlang.org/docs/tutorials/indexeddb/). |
| 76 * | 76 * |
| 77 * [IndexedDB reference](http://docs.webplatform.org/wiki/apis/indexeddb) | 77 * [IndexedDB reference](http://docs.webplatform.org/wiki/apis/indexeddb) |
| 78 * provides wiki-style docs about indexedDB | 78 * provides wiki-style docs about indexedDB |
| 79 */ | 79 */ |
| 80 library dart.dom.indexed_db; | 80 library dart.dom.indexed_db; |
| 81 | 81 |
| 82 import 'dart:async'; | 82 import 'dart:async'; |
| 83 import 'dart:html'; | 83 import 'dart:html'; |
| 84 import 'dart:html_common'; | 84 import 'dart:html_common'; |
| 85 import 'dart:nativewrappers'; | 85 import 'dart:nativewrappers'; |
| 86 import 'dart:_blink' as _blink; | 86 import 'dart:_blink' as _blink; |
| 87 import 'dart:js' as js; |
| 87 | 88 |
| 88 $!GENERATED_DART_FILES | 89 $!GENERATED_DART_FILES |
| 89 | 90 |
| 90 class _KeyRangeFactoryProvider { | 91 class _KeyRangeFactoryProvider { |
| 91 | 92 |
| 92 static KeyRange createKeyRange_only(/*IDBKey*/ value) => | 93 static KeyRange createKeyRange_only(/*IDBKey*/ value) => |
| 93 KeyRange.only_(value); | 94 KeyRange.only_(value); |
| 94 | 95 |
| 95 static KeyRange createKeyRange_lowerBound( | 96 static KeyRange createKeyRange_lowerBound( |
| 96 /*IDBKey*/ bound, [bool open = false]) => | 97 /*IDBKey*/ bound, [bool open = false]) => |
| (...skipping 12 matching lines...) Expand all Loading... |
| 109 final indexed_dbBlinkMap = { | 110 final indexed_dbBlinkMap = { |
| 110 $!TYPE_MAP | 111 $!TYPE_MAP |
| 111 }; | 112 }; |
| 112 | 113 |
| 113 $if JSINTEROP | 114 $if JSINTEROP |
| 114 // FIXME: Can we make this private? | 115 // FIXME: Can we make this private? |
| 115 final indexed_dbBlinkFunctionMap = { | 116 final indexed_dbBlinkFunctionMap = { |
| 116 $!TYPE_FUNCTION_MAP | 117 $!TYPE_FUNCTION_MAP |
| 117 }; | 118 }; |
| 118 $endif | 119 $endif |
| OLD | NEW |