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

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

Issue 12090093: Reapply "Rename mappedBy to map." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed bug in previous commit. Created 7 years, 11 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
Index: tools/dom/templates/html/impl/impl_Node.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Node.darttemplate b/tools/dom/templates/html/impl/impl_Node.darttemplate
index 3e7e7890223c69afd91b2bdf64932fdd58a6dd10..07ef02c1fc0e106199678fd39a9f25e66030f0e8 100644
--- a/tools/dom/templates/html/impl/impl_Node.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Node.darttemplate
@@ -138,6 +138,10 @@ $endif
return IterableMixinWorkaround.joinList(this, separator);
}
+ Iterable map(f(Node element)) {
+ return IterableMixinWorkaround.map(this, f);
+ }
+
List mappedBy(f(Node element)) {
return IterableMixinWorkaround.mappedByList(this, f);
}
@@ -157,7 +161,7 @@ $endif
// From List<Node>:
- List<Node> take(int n) {
+ Iterable<Node> take(int n) {
return IterableMixinWorkaround.takeList(this, n);
}
@@ -165,7 +169,7 @@ $endif
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<Node> skip(int n) {
+ Iterable<Node> skip(int n) {
return IterableMixinWorkaround.skipList(this, n);
}
« no previous file with comments | « tools/dom/templates/html/impl/impl_Element.darttemplate ('k') | tools/dom/templates/immutable_list_mixin.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698