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

Unified Diff: pkg/template_binding/lib/src/text.dart

Issue 307793002: update polymer, nodebind, and templatebinding (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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
Index: pkg/template_binding/lib/src/text.dart
diff --git a/pkg/template_binding/lib/src/text.dart b/pkg/template_binding/lib/src/text.dart
index fd4c44a1609b1235b2af5b9e256728f743769f27..d057be7902cfbffbb25549e7ac238ff4e1a3827a 100644
--- a/pkg/template_binding/lib/src/text.dart
+++ b/pkg/template_binding/lib/src/text.dart
@@ -18,9 +18,8 @@ class _TextExtension extends NodeBindExtension {
return null;
}
- unbind(name);
_open(value, _updateText);
- return bindings[name] = value;
+ return _maybeUpdateBindings(name, value);
}
_updateText(value) {
« no previous file with comments | « pkg/template_binding/lib/src/template_iterator.dart ('k') | pkg/template_binding/lib/src/text_area_element.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698