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

Unified Diff: samples/markdown/block_parser.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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/logo/logo.dart ('k') | samples/markdown/markdown.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/markdown/block_parser.dart
diff --git a/samples/markdown/block_parser.dart b/samples/markdown/block_parser.dart
index b68ed3d1b00d9ed7d4feeeeb457b3612c8293776..16160cd18e2518f5b827895c12c3811a21bb4d1f 100644
--- a/samples/markdown/block_parser.dart
+++ b/samples/markdown/block_parser.dart
@@ -135,7 +135,7 @@ class BlockSyntax {
/// Gets whether or not [parser]'s current line should end the previous block.
static bool isAtBlockEnd(BlockParser parser) {
if (parser.isDone) return true;
- return syntaxes.some((s) => s.canParse(parser) && s.canEndBlock);
+ return syntaxes.any((s) => s.canParse(parser) && s.canEndBlock);
}
}
« no previous file with comments | « samples/logo/logo.dart ('k') | samples/markdown/markdown.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698