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

Unified Diff: samples/newissues/newissues.dart

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
« no previous file with comments | « runtime/lib/growable_array.dart ('k') | samples/swarm/DataSource.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/newissues/newissues.dart
diff --git a/samples/newissues/newissues.dart b/samples/newissues/newissues.dart
index 3cb945333936a42baaf36af91ff1f75acfd931f8..52cb87297d0b92a71daa8a310fc1f0ccf940f534 100644
--- a/samples/newissues/newissues.dart
+++ b/samples/newissues/newissues.dart
@@ -21,7 +21,7 @@ class Issue {
List<Issue> getIssues(json) {
var issues = json["feed"]["entry"];
if (issues == null) return null;
- return issues.mappedBy((data) => new Issue(data)).toList();
+ return issues.map((data) => new Issue(data)).toList();
}
/// Iterates over the recieved issues and construct HTML for them.
« no previous file with comments | « runtime/lib/growable_array.dart ('k') | samples/swarm/DataSource.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698