Chromium Code Reviews| 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 29524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 29535 static _get(p, m) => JS('var', '#[#]', p, m); | 29535 static _get(p, m) => JS('var', '#[#]', p, m); |
| 29536 static _set(p, m, v) => JS('void', '#[#] = #', p, m, v); | 29536 static _set(p, m, v) => JS('void', '#[#] = #', p, m, v); |
| 29537 } | 29537 } |
| 29538 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 29538 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 29539 // for details. All rights reserved. Use of this source code is governed by a | 29539 // for details. All rights reserved. Use of this source code is governed by a |
| 29540 // BSD-style license that can be found in the LICENSE file. | 29540 // BSD-style license that can be found in the LICENSE file. |
| 29541 | 29541 |
| 29542 | 29542 |
| 29543 class Platform { | 29543 class Platform { |
| 29544 static final supportsTypedData = JS('bool', '!!(window.ArrayBuffer)'); | 29544 static final supportsTypedData = JS('bool', '!!(window.ArrayBuffer)'); |
| 29545 static final supportsSimd = false; | |
|
blois
2013/04/29 22:01:01
Can you add doc comments for this?
vsm
2013/04/29 23:55:39
Done.
| |
| 29545 } | 29546 } |
| 29546 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 29547 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 29547 // for details. All rights reserved. Use of this source code is governed by a | 29548 // for details. All rights reserved. Use of this source code is governed by a |
| 29548 // BSD-style license that can be found in the LICENSE file. | 29549 // BSD-style license that can be found in the LICENSE file. |
| 29549 | 29550 |
| 29550 | 29551 |
| 29551 // Iterator for arrays with fixed size. | 29552 // Iterator for arrays with fixed size. |
| 29552 class FixedSizeListIterator<T> implements Iterator<T> { | 29553 class FixedSizeListIterator<T> implements Iterator<T> { |
| 29553 final List<T> _array; | 29554 final List<T> _array; |
| 29554 final int _length; // Cache array length for faster access. | 29555 final int _length; // Cache array length for faster access. |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 29592 _position = nextPosition; | 29593 _position = nextPosition; |
| 29593 return true; | 29594 return true; |
| 29594 } | 29595 } |
| 29595 _current = null; | 29596 _current = null; |
| 29596 _position = _array.length; | 29597 _position = _array.length; |
| 29597 return false; | 29598 return false; |
| 29598 } | 29599 } |
| 29599 | 29600 |
| 29600 T get current => _current; | 29601 T get current => _current; |
| 29601 } | 29602 } |
| OLD | NEW |