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

Unified Diff: pkg/dartdoc/lib/src/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 | « pkg/dartdoc/lib/mirrors_util.dart ('k') | pkg/dartdoc/lib/src/mirrors/dart2js_mirror.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dartdoc/lib/src/markdown/html_renderer.dart
diff --git a/pkg/dartdoc/lib/src/markdown/html_renderer.dart b/pkg/dartdoc/lib/src/markdown/html_renderer.dart
index 38db4d09fb89ab8eba806a15f47dd33ad39869c9..70d4239a4f83169eb887e6d345015dcc7eb940e2 100644
--- a/pkg/dartdoc/lib/src/markdown/html_renderer.dart
+++ b/pkg/dartdoc/lib/src/markdown/html_renderer.dart
@@ -35,9 +35,9 @@ class HtmlRenderer implements NodeVisitor {
buffer.add('<${element.tag}');
// Sort the keys so that we generate stable output.
- // TODO(rnystrom): This assumes getKeys() returns a fresh mutable
+ // TODO(rnystrom): This assumes keys returns a fresh mutable
// collection.
- final attributeNames = element.attributes.getKeys();
+ final attributeNames = element.attributes.keys;
attributeNames.sort((a, b) => a.compareTo(b));
for (final name in attributeNames) {
buffer.add(' $name="${element.attributes[name]}"');
« no previous file with comments | « pkg/dartdoc/lib/mirrors_util.dart ('k') | pkg/dartdoc/lib/src/mirrors/dart2js_mirror.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698