| OLD | NEW |
| 1 /// The Dart HTML library. | 1 /// The Dart HTML library. |
| 2 library dart.dom.html; | 2 library dart.dom.html; |
| 3 | 3 |
| 4 import 'dart:async'; | 4 import 'dart:async'; |
| 5 import 'dart:collection'; | 5 import 'dart:collection'; |
| 6 import 'dart:_collection-dev'; | 6 import 'dart:_collection-dev'; |
| 7 import 'dart:html_common'; | 7 import 'dart:html_common'; |
| 8 import 'dart:indexed_db'; | 8 import 'dart:indexed_db'; |
| 9 import 'dart:isolate'; | 9 import 'dart:isolate'; |
| 10 import 'dart:json' as json; | 10 import 'dart:json' as json; |
| (...skipping 22593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22604 * Gets an instance of the Indexed DB factory to being using Indexed DB. | 22604 * Gets an instance of the Indexed DB factory to being using Indexed DB. |
| 22605 * | 22605 * |
| 22606 * Use [IdbFactory.supported] to check if Indexed DB is supported on the | 22606 * Use [IdbFactory.supported] to check if Indexed DB is supported on the |
| 22607 * current platform. | 22607 * current platform. |
| 22608 */ | 22608 */ |
| 22609 @SupportedBrowser(SupportedBrowser.CHROME, '23.0') | 22609 @SupportedBrowser(SupportedBrowser.CHROME, '23.0') |
| 22610 @SupportedBrowser(SupportedBrowser.FIREFOX, '15.0') | 22610 @SupportedBrowser(SupportedBrowser.FIREFOX, '15.0') |
| 22611 @SupportedBrowser(SupportedBrowser.IE, '10.0') | 22611 @SupportedBrowser(SupportedBrowser.IE, '10.0') |
| 22612 @Experimental | 22612 @Experimental |
| 22613 IdbFactory get indexedDB => | 22613 IdbFactory get indexedDB => |
| 22614 JS('IdbFactory', | 22614 JS('IdbFactory|Null', |
| 22615 '#.indexedDB || #.webkitIndexedDB || #.mozIndexedDB', | 22615 '#.indexedDB || #.webkitIndexedDB || #.mozIndexedDB', |
| 22616 this, this, this); | 22616 this, this, this); |
| 22617 | 22617 |
| 22618 @DomName('Window.console') | 22618 @DomName('Window.console') |
| 22619 Console get console => Console.safeConsole; | 22619 Console get console => Console.safeConsole; |
| 22620 | 22620 |
| 22621 /// Checks if _setImmediate is supported. | 22621 /// Checks if _setImmediate is supported. |
| 22622 static bool get _supportsSetImmediate => | 22622 static bool get _supportsSetImmediate => |
| 22623 JS('bool', '!!(window.setImmediate)'); | 22623 JS('bool', '!!(window.setImmediate)'); |
| 22624 | 22624 |
| (...skipping 7284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 29909 _position = nextPosition; | 29909 _position = nextPosition; |
| 29910 return true; | 29910 return true; |
| 29911 } | 29911 } |
| 29912 _current = null; | 29912 _current = null; |
| 29913 _position = _array.length; | 29913 _position = _array.length; |
| 29914 return false; | 29914 return false; |
| 29915 } | 29915 } |
| 29916 | 29916 |
| 29917 T get current => _current; | 29917 T get current => _current; |
| 29918 } | 29918 } |
| OLD | NEW |