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

Unified Diff: lib/html/scripts/idlrenderer.dart

Issue 11273041: Make first and last getters. (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 | « lib/html/dartium/html_dartium.dart ('k') | lib/html/templates/html/impl/impl_DocumentFragment.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/scripts/idlrenderer.dart
diff --git a/lib/html/scripts/idlrenderer.dart b/lib/html/scripts/idlrenderer.dart
index 3bf37204282f50a8e170237250751906ff883785..77801757f8503692ea3bdfe92579384bd4402afb 100644
--- a/lib/html/scripts/idlrenderer.dart
+++ b/lib/html/scripts/idlrenderer.dart
@@ -48,7 +48,7 @@ render(idl_node, [indent_str=' ']) {
if (node == null) {
return;
} else if (node is String) {
- if (output.last().endsWith('\n'))
+ if (output.last.endsWith('\n'))
output.addAll(indent_stack);
output.add(node);
} else if (node is List) {
« no previous file with comments | « lib/html/dartium/html_dartium.dart ('k') | lib/html/templates/html/impl/impl_DocumentFragment.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698