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

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

Issue 12087103: Revert "Rename mappedBy to map." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 9678ca19870fb4f44da670f4c7170b1384ef67af..5caea44ac0f28d99f1beeff00174b62c462b926e 100644
--- a/sdk/lib/svg/dart2js/svg_dart2js.dart
+++ b/sdk/lib/svg/dart2js/svg_dart2js.dart
@@ -3621,11 +3621,7 @@ class LengthList implements JavaScriptIndexingBehavior, List<Length> native "*SV
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- Iterable map(f(Length element)) =>
- IterableMixinWorkaround.map(this, f);
-
- List mappedBy(f(Length element)) =>
- IterableMixinWorkaround.mappedBy(this, f);
+ List mappedBy(f(Length element)) => IterableMixinWorkaround.mappedByList(this, f);
Iterable<Length> where(bool f(Length element)) =>
IterableMixinWorkaround.where(this, f);
@@ -3639,13 +3635,13 @@ class LengthList implements JavaScriptIndexingBehavior, List<Length> native "*SV
bool get isEmpty => this.length == 0;
- Iterable<Length> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ List<Length> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<Length> takeWhile(bool test(Length value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- Iterable<Length> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ List<Length> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<Length> skipWhile(bool test(Length value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -4310,11 +4306,7 @@ class NumberList implements JavaScriptIndexingBehavior, List<Number> native "*SV
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- Iterable map(f(Number element)) =>
- IterableMixinWorkaround.map(this, f);
-
- List mappedBy(f(Number element)) =>
- IterableMixinWorkaround.mappedBy(this, f);
+ List mappedBy(f(Number element)) => IterableMixinWorkaround.mappedByList(this, f);
Iterable<Number> where(bool f(Number element)) =>
IterableMixinWorkaround.where(this, f);
@@ -4328,13 +4320,13 @@ class NumberList implements JavaScriptIndexingBehavior, List<Number> native "*SV
bool get isEmpty => this.length == 0;
- Iterable<Number> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ List<Number> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<Number> takeWhile(bool test(Number value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- Iterable<Number> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ List<Number> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<Number> skipWhile(bool test(Number value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -5221,11 +5213,7 @@ class PathSegList implements JavaScriptIndexingBehavior, List<PathSeg> native "*
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- Iterable map(f(PathSeg element)) =>
- IterableMixinWorkaround.map(this, f);
-
- List mappedBy(f(PathSeg element)) =>
- IterableMixinWorkaround.mappedBy(this, f);
+ List mappedBy(f(PathSeg element)) => IterableMixinWorkaround.mappedByList(this, f);
Iterable<PathSeg> where(bool f(PathSeg element)) =>
IterableMixinWorkaround.where(this, f);
@@ -5239,13 +5227,13 @@ class PathSegList implements JavaScriptIndexingBehavior, List<PathSeg> native "*
bool get isEmpty => this.length == 0;
- Iterable<PathSeg> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ List<PathSeg> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<PathSeg> takeWhile(bool test(PathSeg value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- Iterable<PathSeg> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ List<PathSeg> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<PathSeg> skipWhile(bool test(PathSeg value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -6151,11 +6139,7 @@ class StringList implements JavaScriptIndexingBehavior, List<String> native "*SV
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- Iterable map(f(String element)) =>
- IterableMixinWorkaround.map(this, f);
-
- List mappedBy(f(String element)) =>
- IterableMixinWorkaround.mappedBy(this, f);
+ List mappedBy(f(String element)) => IterableMixinWorkaround.mappedByList(this, f);
Iterable<String> where(bool f(String element)) =>
IterableMixinWorkaround.where(this, f);
@@ -6169,13 +6153,13 @@ class StringList implements JavaScriptIndexingBehavior, List<String> native "*SV
bool get isEmpty => this.length == 0;
- Iterable<String> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ List<String> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<String> takeWhile(bool test(String value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- Iterable<String> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ List<String> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<String> skipWhile(bool test(String value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -7376,11 +7360,7 @@ class TransformList implements List<Transform>, JavaScriptIndexingBehavior nativ
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- Iterable map(f(Transform element)) =>
- IterableMixinWorkaround.map(this, f);
-
- List mappedBy(f(Transform element)) =>
- IterableMixinWorkaround.mappedBy(this, f);
+ List mappedBy(f(Transform element)) => IterableMixinWorkaround.mappedByList(this, f);
Iterable<Transform> where(bool f(Transform element)) =>
IterableMixinWorkaround.where(this, f);
@@ -7394,13 +7374,13 @@ class TransformList implements List<Transform>, JavaScriptIndexingBehavior nativ
bool get isEmpty => this.length == 0;
- Iterable<Transform> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ List<Transform> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<Transform> takeWhile(bool test(Transform value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- Iterable<Transform> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ List<Transform> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<Transform> skipWhile(bool test(Transform value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -7915,11 +7895,7 @@ class _ElementInstanceList implements JavaScriptIndexingBehavior, List<ElementIn
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- Iterable map(f(ElementInstance element)) =>
- IterableMixinWorkaround.map(this, f);
-
- List mappedBy(f(ElementInstance element)) =>
- IterableMixinWorkaround.mappedBy(this, f);
+ List mappedBy(f(ElementInstance element)) => IterableMixinWorkaround.mappedByList(this, f);
Iterable<ElementInstance> where(bool f(ElementInstance element)) =>
IterableMixinWorkaround.where(this, f);
@@ -7933,13 +7909,13 @@ class _ElementInstanceList implements JavaScriptIndexingBehavior, List<ElementIn
bool get isEmpty => this.length == 0;
- Iterable<ElementInstance> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ List<ElementInstance> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<ElementInstance> takeWhile(bool test(ElementInstance value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- Iterable<ElementInstance> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ List<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