Index: lib/html/dartium/html_dartium.dart |
diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart |
index 7f3b9f066beca962ddf4085ee0e3058c3acd3710..5da7f23b5e64e9602d267eb326099e35e72c91ca 100644 |
--- a/lib/html/dartium/html_dartium.dart |
+++ b/lib/html/dartium/html_dartium.dart |
@@ -2833,7 +2833,7 @@ class _CSSRuleListImpl extends NativeFieldWrapperClass1 implements List<CSSRule> |
bool some(bool f(CSSRule element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<CSSRule>: |
@@ -7850,7 +7850,7 @@ class _CSSValueListImpl extends _CSSValueImpl implements List<CSSValue> { |
bool some(bool f(CSSValue element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<CSSValue>: |
@@ -8843,7 +8843,7 @@ class _ClientRectListImpl extends NativeFieldWrapperClass1 implements List<Clien |
bool some(bool f(ClientRect element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<ClientRect>: |
@@ -9805,7 +9805,7 @@ class _DOMMimeTypeArrayImpl extends NativeFieldWrapperClass1 implements DOMMimeT |
bool some(bool f(DOMMimeType element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<DOMMimeType>: |
@@ -9993,7 +9993,7 @@ class _DOMPluginArrayImpl extends NativeFieldWrapperClass1 implements DOMPluginA |
bool some(bool f(DOMPlugin element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<DOMPlugin>: |
@@ -10287,7 +10287,7 @@ class _DOMStringListImpl extends NativeFieldWrapperClass1 implements List<String |
bool some(bool f(String element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<String>: |
@@ -11603,7 +11603,7 @@ class _FilteredElementList implements List { |
Collection<Element> filter(bool f(Element element)) => _filtered.filter(f); |
bool every(bool f(Element element)) => _filtered.every(f); |
bool some(bool f(Element element)) => _filtered.some(f); |
- bool isEmpty() => _filtered.isEmpty(); |
+ bool get isEmpty => _filtered.isEmpty; |
int get length => _filtered.length; |
Element operator [](int index) => _filtered[index]; |
Iterator<Element> iterator() => _filtered.iterator(); |
@@ -12749,7 +12749,7 @@ class _ChildrenElementList implements List { |
return out; |
} |
- bool isEmpty() { |
+ bool get isEmpty { |
return _element.$dom_firstElementChild == null; |
} |
@@ -12892,7 +12892,7 @@ class _FrozenElementList implements List { |
return false; |
} |
- bool isEmpty() => _nodeList.isEmpty(); |
+ bool get isEmpty => _nodeList.isEmpty; |
int get length => _nodeList.length; |
@@ -13066,7 +13066,7 @@ class _ElementAttributeMap implements AttributeMap { |
/** |
* Returns true if there is no {key, value} pair in the map. |
*/ |
- bool isEmpty() { |
+ bool get isEmpty { |
return length == 0; |
} |
} |
@@ -13137,7 +13137,7 @@ class _DataAttributeMap implements AttributeMap { |
int get length => getKeys().length; |
// TODO: Use lazy iterator when it is available on Map. |
- bool isEmpty() => length == 0; |
+ bool get isEmpty => length == 0; |
// Helpers. |
String _attr(String key) => 'data-$key'; |
@@ -13170,7 +13170,7 @@ class _CssClassSet implements CSSClassSet { |
bool some(bool f(String element)) => _read().some(f); |
- bool isEmpty() => _read().isEmpty(); |
+ bool get isEmpty => _read().isEmpty; |
bool get frozen => false; |
@@ -13254,7 +13254,7 @@ class _CssClassSet implements CSSClassSet { |
Set<String> s = new Set<String>(); |
for (String name in _classname().split(' ')) { |
String trimmed = name.trim(); |
- if (!trimmed.isEmpty()) { |
+ if (!trimmed.isEmpty) { |
s.add(trimmed); |
} |
} |
@@ -13995,7 +13995,7 @@ class _EntryArrayImpl extends NativeFieldWrapperClass1 implements List<Entry> { |
bool some(bool f(Entry element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<Entry>: |
@@ -14091,7 +14091,7 @@ class _EntryArraySyncImpl extends NativeFieldWrapperClass1 implements List<Entry |
bool some(bool f(EntrySync element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<EntrySync>: |
@@ -15021,7 +15021,7 @@ class _FileListImpl extends NativeFieldWrapperClass1 implements List<File> { |
bool some(bool f(File element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<File>: |
@@ -15500,7 +15500,7 @@ class _Float32ArrayImpl extends _ArrayBufferViewImpl implements Float32Array { |
bool some(bool f(num element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<num>: |
@@ -15634,7 +15634,7 @@ class _Float64ArrayImpl extends _ArrayBufferViewImpl implements Float64Array { |
bool some(bool f(num element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<num>: |
@@ -16151,7 +16151,7 @@ class _GamepadListImpl extends NativeFieldWrapperClass1 implements List<Gamepad> |
bool some(bool f(Gamepad element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<Gamepad>: |
@@ -16377,7 +16377,7 @@ class _HTMLAllCollectionImpl extends NativeFieldWrapperClass1 implements HTMLAll |
bool some(bool f(Node element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<Node>: |
@@ -16495,7 +16495,7 @@ class _HTMLCollectionImpl extends NativeFieldWrapperClass1 implements HTMLCollec |
bool some(bool f(Node element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<Node>: |
@@ -19030,7 +19030,7 @@ class _Int16ArrayImpl extends _ArrayBufferViewImpl implements Int16Array { |
bool some(bool f(int element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<int>: |
@@ -19164,7 +19164,7 @@ class _Int32ArrayImpl extends _ArrayBufferViewImpl implements Int32Array { |
bool some(bool f(int element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<int>: |
@@ -19298,7 +19298,7 @@ class _Int8ArrayImpl extends _ArrayBufferViewImpl implements Int8Array { |
bool some(bool f(int element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<int>: |
@@ -22016,7 +22016,7 @@ class _MediaStreamListImpl extends NativeFieldWrapperClass1 implements List<Medi |
bool some(bool f(MediaStream element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<MediaStream>: |
@@ -23081,7 +23081,7 @@ class _NamedNodeMapImpl extends NativeFieldWrapperClass1 implements NamedNodeMap |
bool some(bool f(Node element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<Node>: |
@@ -23538,7 +23538,7 @@ class _ChildNodeListLazy implements List { |
bool some(bool f(Node element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<Node>: |
@@ -23766,7 +23766,7 @@ class _ListWrapper<E> implements List<E> { |
bool some(bool f(E element)) => _list.some(f); |
- bool isEmpty() => _list.isEmpty(); |
+ bool get isEmpty => _list.isEmpty; |
int get length => _list.length; |
@@ -23884,7 +23884,7 @@ class _NodeListImpl extends NativeFieldWrapperClass1 implements NodeList { |
bool some(bool f(Node element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<Node>: |
@@ -26660,7 +26660,7 @@ class _SQLResultSetRowListImpl extends NativeFieldWrapperClass1 implements SQLRe |
bool some(bool f(Map element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<Map>: |
@@ -27274,7 +27274,7 @@ class _SVGAnimatedLengthListImpl extends NativeFieldWrapperClass1 implements SVG |
bool some(bool f(SVGAnimatedLength element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<SVGAnimatedLength>: |
@@ -27415,7 +27415,7 @@ class _SVGAnimatedNumberListImpl extends NativeFieldWrapperClass1 implements SVG |
bool some(bool f(SVGAnimatedNumber element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<SVGAnimatedNumber>: |
@@ -27612,7 +27612,7 @@ class _SVGAnimatedTransformListImpl extends NativeFieldWrapperClass1 implements |
bool some(bool f(SVGAnimateTransformElement element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<SVGAnimateTransformElement>: |
@@ -28494,7 +28494,7 @@ class _SVGElementInstanceListImpl extends NativeFieldWrapperClass1 implements Li |
bool some(bool f(SVGElementInstance element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<SVGElementInstance>: |
@@ -30650,7 +30650,7 @@ class _SVGLengthListImpl extends NativeFieldWrapperClass1 implements SVGLengthLi |
bool some(bool f(SVGLength element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<SVGLength>: |
@@ -31297,7 +31297,7 @@ class _SVGNumberListImpl extends NativeFieldWrapperClass1 implements SVGNumberLi |
bool some(bool f(SVGNumber element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<SVGNumber>: |
@@ -32439,7 +32439,7 @@ class _SVGPathSegListImpl extends NativeFieldWrapperClass1 implements SVGPathSeg |
bool some(bool f(SVGPathSeg element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<SVGPathSeg>: |
@@ -33560,7 +33560,7 @@ class _SVGStringListImpl extends NativeFieldWrapperClass1 implements SVGStringLi |
bool some(bool f(String element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<String>: |
@@ -34266,7 +34266,7 @@ class _SVGTransformListImpl extends NativeFieldWrapperClass1 implements SVGTrans |
bool some(bool f(SVGTransform element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<SVGTransform>: |
@@ -35330,7 +35330,7 @@ class _SourceBufferListImpl extends _EventTargetImpl implements SourceBufferList |
bool some(bool f(SourceBuffer element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<SourceBuffer>: |
@@ -35550,7 +35550,7 @@ class _SpeechGrammarListImpl extends NativeFieldWrapperClass1 implements SpeechG |
bool some(bool f(SpeechGrammar element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<SpeechGrammar>: |
@@ -35721,7 +35721,7 @@ class _SpeechInputResultListImpl extends NativeFieldWrapperClass1 implements Lis |
bool some(bool f(SpeechInputResult element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<SpeechInputResult>: |
@@ -36106,7 +36106,7 @@ class _SpeechRecognitionResultListImpl extends NativeFieldWrapperClass1 implemen |
bool some(bool f(SpeechRecognitionResult element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<SpeechRecognitionResult>: |
@@ -36274,7 +36274,7 @@ class _StorageImpl extends NativeFieldWrapperClass1 implements Storage { |
int get length => $dom_length; |
- bool isEmpty() => $dom_key(0) == null; |
+ bool get isEmpty => $dom_key(0) == null; |
int get $dom_length native "Storage_length_Getter"; |
@@ -36543,7 +36543,7 @@ class _StyleSheetListImpl extends NativeFieldWrapperClass1 implements List<Style |
bool some(bool f(StyleSheet element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<StyleSheet>: |
@@ -37643,7 +37643,7 @@ class _TextTrackCueListImpl extends NativeFieldWrapperClass1 implements TextTrac |
bool some(bool f(TextTrackCue element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<TextTrackCue>: |
@@ -37820,7 +37820,7 @@ class _TextTrackListImpl extends _EventTargetImpl implements TextTrackList { |
bool some(bool f(TextTrack element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<TextTrack>: |
@@ -38140,7 +38140,7 @@ class _TouchListImpl extends NativeFieldWrapperClass1 implements TouchList { |
bool some(bool f(Touch element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<Touch>: |
@@ -38569,7 +38569,7 @@ class _Uint16ArrayImpl extends _ArrayBufferViewImpl implements Uint16Array { |
bool some(bool f(int element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<int>: |
@@ -38703,7 +38703,7 @@ class _Uint32ArrayImpl extends _ArrayBufferViewImpl implements Uint32Array { |
bool some(bool f(int element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<int>: |
@@ -38837,7 +38837,7 @@ class _Uint8ArrayImpl extends _ArrayBufferViewImpl implements Uint8Array { |
bool some(bool f(int element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<int>: |
@@ -41035,7 +41035,7 @@ class _WebKitAnimationListImpl extends NativeFieldWrapperClass1 implements List< |
bool some(bool f(Animation element)) => _Collections.some(this, f); |
- bool isEmpty() => this.length == 0; |
+ bool get isEmpty => this.length == 0; |
// From List<Animation>: |
@@ -44411,7 +44411,7 @@ class _DOMStringMapImpl extends NativeFieldWrapperClass1 implements Map<String, |
Collection<String> getKeys() native "DOMStringMap_getKeys_Callback"; |
Collection<String> getValues() => Maps.getValues(this); |
int get length => Maps.length(this); |
- bool isEmpty() => Maps.isEmpty(this); |
+ bool get isEmpty => Maps.isEmpty(this); |
} |
get _printClosure => (s) { |