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

Unified Diff: sdk/lib/svg/dart2js/svg_dart2js.dart

Issue 12086062: Rename mappedBy to map. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Undo change to test-script. 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
« no previous file with comments | « sdk/lib/html/html_common/filtered_element_list.dart ('k') | sdk/lib/svg/dartium/svg_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/svg/dart2js/svg_dart2js.dart
diff --git a/sdk/lib/svg/dart2js/svg_dart2js.dart b/sdk/lib/svg/dart2js/svg_dart2js.dart
index 5caea44ac0f28d99f1beeff00174b62c462b926e..9678ca19870fb4f44da670f4c7170b1384ef67af 100644
--- a/sdk/lib/svg/dart2js/svg_dart2js.dart
+++ b/sdk/lib/svg/dart2js/svg_dart2js.dart
@@ -3621,7 +3621,11 @@ class LengthList implements JavaScriptIndexingBehavior, List<Length> native "*SV
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(Length element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(Length element)) =>
+ IterableMixinWorkaround.map(this, f);
+
+ List mappedBy(f(Length element)) =>
+ IterableMixinWorkaround.mappedBy(this, f);
Iterable<Length> where(bool f(Length element)) =>
IterableMixinWorkaround.where(this, f);
@@ -3635,13 +3639,13 @@ class LengthList implements JavaScriptIndexingBehavior, List<Length> native "*SV
bool get isEmpty => this.length == 0;
- List<Length> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<Length> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<Length> takeWhile(bool test(Length value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<Length> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<Length> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<Length> skipWhile(bool test(Length value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -4306,7 +4310,11 @@ class NumberList implements JavaScriptIndexingBehavior, List<Number> native "*SV
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(Number element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(Number element)) =>
+ IterableMixinWorkaround.map(this, f);
+
+ List mappedBy(f(Number element)) =>
+ IterableMixinWorkaround.mappedBy(this, f);
Iterable<Number> where(bool f(Number element)) =>
IterableMixinWorkaround.where(this, f);
@@ -4320,13 +4328,13 @@ class NumberList implements JavaScriptIndexingBehavior, List<Number> native "*SV
bool get isEmpty => this.length == 0;
- List<Number> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<Number> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<Number> takeWhile(bool test(Number value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<Number> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<Number> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<Number> skipWhile(bool test(Number value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -5213,7 +5221,11 @@ class PathSegList implements JavaScriptIndexingBehavior, List<PathSeg> native "*
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(PathSeg element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(PathSeg element)) =>
+ IterableMixinWorkaround.map(this, f);
+
+ List mappedBy(f(PathSeg element)) =>
+ IterableMixinWorkaround.mappedBy(this, f);
Iterable<PathSeg> where(bool f(PathSeg element)) =>
IterableMixinWorkaround.where(this, f);
@@ -5227,13 +5239,13 @@ class PathSegList implements JavaScriptIndexingBehavior, List<PathSeg> native "*
bool get isEmpty => this.length == 0;
- List<PathSeg> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<PathSeg> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<PathSeg> takeWhile(bool test(PathSeg value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<PathSeg> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<PathSeg> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<PathSeg> skipWhile(bool test(PathSeg value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -6139,7 +6151,11 @@ class StringList implements JavaScriptIndexingBehavior, List<String> native "*SV
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(String element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(String element)) =>
+ IterableMixinWorkaround.map(this, f);
+
+ List mappedBy(f(String element)) =>
+ IterableMixinWorkaround.mappedBy(this, f);
Iterable<String> where(bool f(String element)) =>
IterableMixinWorkaround.where(this, f);
@@ -6153,13 +6169,13 @@ class StringList implements JavaScriptIndexingBehavior, List<String> native "*SV
bool get isEmpty => this.length == 0;
- List<String> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<String> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<String> takeWhile(bool test(String value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<String> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<String> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<String> skipWhile(bool test(String value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -7360,7 +7376,11 @@ class TransformList implements List<Transform>, JavaScriptIndexingBehavior nativ
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(Transform element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(Transform element)) =>
+ IterableMixinWorkaround.map(this, f);
+
+ List mappedBy(f(Transform element)) =>
+ IterableMixinWorkaround.mappedBy(this, f);
Iterable<Transform> where(bool f(Transform element)) =>
IterableMixinWorkaround.where(this, f);
@@ -7374,13 +7394,13 @@ class TransformList implements List<Transform>, JavaScriptIndexingBehavior nativ
bool get isEmpty => this.length == 0;
- List<Transform> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<Transform> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<Transform> takeWhile(bool test(Transform value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<Transform> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<Transform> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<Transform> skipWhile(bool test(Transform value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -7895,7 +7915,11 @@ class _ElementInstanceList implements JavaScriptIndexingBehavior, List<ElementIn
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f(ElementInstance element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f(ElementInstance element)) =>
+ IterableMixinWorkaround.map(this, f);
+
+ List mappedBy(f(ElementInstance element)) =>
+ IterableMixinWorkaround.mappedBy(this, f);
Iterable<ElementInstance> where(bool f(ElementInstance element)) =>
IterableMixinWorkaround.where(this, f);
@@ -7909,13 +7933,13 @@ class _ElementInstanceList implements JavaScriptIndexingBehavior, List<ElementIn
bool get isEmpty => this.length == 0;
- List<ElementInstance> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<ElementInstance> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<ElementInstance> takeWhile(bool test(ElementInstance value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<ElementInstance> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<ElementInstance> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<ElementInstance> skipWhile(bool test(ElementInstance value)) {
return IterableMixinWorkaround.skipWhile(this, test);
« no previous file with comments | « sdk/lib/html/html_common/filtered_element_list.dart ('k') | sdk/lib/svg/dartium/svg_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698