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

Unified Diff: tools/dom/templates/html/impl/impl_Element.darttemplate

Issue 12286004: Unbreak pub: (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/dom/src/CssClassSet.dart ('k') | tools/dom/templates/html/impl/impl_Node.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/impl/impl_Element.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Element.darttemplate b/tools/dom/templates/html/impl/impl_Element.darttemplate
index 605731c4928078663a82f59cfaa12d0c49398dc1..791b1ab6f76b14a6a3d9731c60b3a8e4cfaf6c67 100644
--- a/tools/dom/templates/html/impl/impl_Element.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Element.darttemplate
@@ -65,6 +65,10 @@ class _ChildrenElementList implements List {
return IterableMixinWorkaround.mapList(this, f);
}
+ List mappedBy(f(Element element)) {
+ return IterableMixinWorkaround.mappedByList(this, f);
+ }
+
Iterable<Element> where(bool f(Element element)) {
return IterableMixinWorkaround.where(this, f);
}
@@ -145,7 +149,7 @@ class _ChildrenElementList implements List {
}
}
- Iterable<Element> get reversed {
+ List<Element> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -286,6 +290,10 @@ class _FrozenElementList implements List {
return IterableMixinWorkaround.mapList(this, f);
}
+ List mappedBy(f(Element element)) {
+ return IterableMixinWorkaround.mappedByList(this, f);
+ }
+
Iterable<Element> where(bool f(Element element)) {
return IterableMixinWorkaround.where(this, f);
}
@@ -375,7 +383,7 @@ class _FrozenElementList implements List {
throw new UnsupportedError('');
}
- Iterable<Element> get reversed {
+ List<Element> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
« no previous file with comments | « tools/dom/src/CssClassSet.dart ('k') | tools/dom/templates/html/impl/impl_Node.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698