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

Unified Diff: samples/markdown/html_renderer.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 | « runtime/tests/vm/dart/isolate_mirror_local_test.dart ('k') | samples/swarm/Views.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/markdown/html_renderer.dart
diff --git a/samples/markdown/html_renderer.dart b/samples/markdown/html_renderer.dart
index 520f978fb94729f6ed0c9d1c8ed9f8b7c6e21de5..943613d9727c3487d0dd82aba7535d8a96a0119a 100644
--- a/samples/markdown/html_renderer.dart
+++ b/samples/markdown/html_renderer.dart
@@ -34,7 +34,7 @@ class HtmlRenderer implements NodeVisitor {
buffer.add('<${element.tag}');
- for (final name in element.attributes.getKeys()) {
+ for (final name in element.attributes.keys) {
buffer.add(' $name="${element.attributes[name]}"');
}
« no previous file with comments | « runtime/tests/vm/dart/isolate_mirror_local_test.dart ('k') | samples/swarm/Views.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698