Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(579)

Side by Side Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 14246008: Allow Object when doing lookups. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Forgot to upload before committing Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sdk/lib/core/uri.dart ('k') | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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' hide Symbol; 6 import 'dart:_collection-dev' hide Symbol;
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 7606 matching lines...) Expand 10 before | Expand all | Expand 10 after
7617 7617
7618 class _ChildrenElementList extends ListBase<Element> { 7618 class _ChildrenElementList extends ListBase<Element> {
7619 // Raw Element. 7619 // Raw Element.
7620 final Element _element; 7620 final Element _element;
7621 final HtmlCollection _childElements; 7621 final HtmlCollection _childElements;
7622 7622
7623 _ChildrenElementList._wrap(Element element) 7623 _ChildrenElementList._wrap(Element element)
7624 : _childElements = element.$dom_children, 7624 : _childElements = element.$dom_children,
7625 _element = element; 7625 _element = element;
7626 7626
7627 bool contains(Element element) => _childElements.contains(element); 7627 bool contains(Object element) => _childElements.contains(element);
7628 7628
7629 7629
7630 bool get isEmpty { 7630 bool get isEmpty {
7631 return _element.$dom_firstElementChild == null; 7631 return _element.$dom_firstElementChild == null;
7632 } 7632 }
7633 7633
7634 int get length { 7634 int get length {
7635 return _childElements.length; 7635 return _childElements.length;
7636 } 7636 }
7637 7637
(...skipping 21959 matching lines...) Expand 10 before | Expand all | Expand 10 after
29597 _position = nextPosition; 29597 _position = nextPosition;
29598 return true; 29598 return true;
29599 } 29599 }
29600 _current = null; 29600 _current = null;
29601 _position = _array.length; 29601 _position = _array.length;
29602 return false; 29602 return false;
29603 } 29603 }
29604 29604
29605 T get current => _current; 29605 T get current => _current;
29606 } 29606 }
OLDNEW
« no previous file with comments | « sdk/lib/core/uri.dart ('k') | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698