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

Unified Diff: samples/tests/samples/lib/layout/grid_layout_demo.dart

Issue 11267018: Make getKeys, getValues getters (keys, values). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 years, 2 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 | « samples/swarm/Views.dart ('k') | samples/tests/samples/lib/layout/layout_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/tests/samples/lib/layout/grid_layout_demo.dart
diff --git a/samples/tests/samples/lib/layout/grid_layout_demo.dart b/samples/tests/samples/lib/layout/grid_layout_demo.dart
index 27a6143efe221d1a10d0d0f16dc15c31ad6fe860..0af90b698605b7566398c27277fb8bfa6aad1570 100644
--- a/samples/tests/samples/lib/layout/grid_layout_demo.dart
+++ b/samples/tests/samples/lib/layout/grid_layout_demo.dart
@@ -11,7 +11,7 @@ View createGrid(Map<String, Map<String, String>> styles) {
final gridStyle = styles['#grid'];
final children = new List<MockView>();
- for (final String id in styles.getKeys()) {
+ for (final String id in styles.keys) {
// All selectors in this test are id selectors string the # prefix.
assert(id.startsWith('#'));
String elemId = id.substring(1);
@@ -34,7 +34,7 @@ void _onLoad() {
printMetrics(query);
} else {
final html = new StringBuffer();
- for (String ex in GridExamples.styles.getKeys()) {
+ for (String ex in GridExamples.styles.keys) {
html.add('<div><a href="?q=$ex">Grid Example $ex</a></div>');
}
document.body.innerHTML = html.toString();
« no previous file with comments | « samples/swarm/Views.dart ('k') | samples/tests/samples/lib/layout/layout_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698