Index: pkg/polymer/lib/src/build/script_compactor.dart |
diff --git a/pkg/polymer/lib/src/build/script_compactor.dart b/pkg/polymer/lib/src/build/script_compactor.dart |
index efd3571e6c34d95c2b11e114f1b4bac0a9ef92e5..b633360cb27610da7432724910bb1394b32d6a52 100644 |
--- a/pkg/polymer/lib/src/build/script_compactor.dart |
+++ b/pkg/polymer/lib/src/build/script_compactor.dart |
@@ -514,6 +514,7 @@ class _HtmlExtractor extends TreeVisitor { |
void _addExpression(String stringExpression, bool inEvent, bool isTwoWay) { |
if (inEvent) { |
if (!stringExpression.startsWith("@")) { |
+ if (stringExpression == '') return; |
generator.addGetter(stringExpression); |
generator.addSymbol(stringExpression); |
return; |