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

Unified Diff: pkg/mdv/lib/src/template_iterator.dart

Issue 20886002: add custom_element package (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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/custom_element/test/custom_element_test.dart ('k') | pkg/mdv/test/analyzer_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/mdv/lib/src/template_iterator.dart
diff --git a/pkg/mdv/lib/src/template_iterator.dart b/pkg/mdv/lib/src/template_iterator.dart
index 8cca7ce8d50b5346f8c3bd1a63a20da0edb68b22..a88a43b5fc24f554f5aee1f630024d39e06ad74c 100644
--- a/pkg/mdv/lib/src/template_iterator.dart
+++ b/pkg/mdv/lib/src/template_iterator.dart
@@ -159,7 +159,7 @@ bool _isSimpleBinding(List<String> tokens) =>
* [TEXT, (PATH, TEXT)+] if there is at least one mustache.
*/
List<String> _parseMustacheTokens(String s) {
- if (s.isEmpty) return;
+ if (s.isEmpty) return null;
var tokens = null;
var length = s.length;
« no previous file with comments | « pkg/custom_element/test/custom_element_test.dart ('k') | pkg/mdv/test/analyzer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698