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

Unified Diff: samples/markdown/html_renderer.dart

Issue 11238035: Make isEmpty a getter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status file 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/buildhook2/build.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/markdown/html_renderer.dart
diff --git a/samples/markdown/html_renderer.dart b/samples/markdown/html_renderer.dart
index 4f0aba902c50c7eab364e31ac8c6d1a204593f08..520f978fb94729f6ed0c9d1c8ed9f8b7c6e21de5 100644
--- a/samples/markdown/html_renderer.dart
+++ b/samples/markdown/html_renderer.dart
@@ -27,7 +27,7 @@ class HtmlRenderer implements NodeVisitor {
bool visitElementBefore(Element element) {
// Hackish. Separate block-level elements with newlines.
- if (!buffer.isEmpty() &&
+ if (!buffer.isEmpty &&
_BLOCK_TAGS.firstMatch(element.tag) != null) {
buffer.add('\n');
}
« no previous file with comments | « samples/buildhook2/build.dart ('k') | samples/swarm/DataSource.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698