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

Unified Diff: pkg/observe/lib/src/compound_binding.dart

Issue 19492018: [mdv] Avoid observing placeholder arrays in TemplateIterator (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
Index: pkg/observe/lib/src/compound_binding.dart
diff --git a/pkg/observe/lib/src/compound_binding.dart b/pkg/observe/lib/src/compound_binding.dart
index 15e3e03007ef8078c29f9d4388aece5098d18d25..80877ce34da0ff7aa57e7c804b03b5a0f011464f 100644
--- a/pkg/observe/lib/src/compound_binding.dart
+++ b/pkg/observe/lib/src/compound_binding.dart
@@ -57,6 +57,8 @@ class CompoundBinding extends ChangeNotifierBase {
get value => _value;
+ int get length => _bindings.length;
+
void set value(newValue) {
_value = notifyPropertyChange(_VALUE, _value, newValue);
}
« pkg/mdv/lib/src/template_iterator.dart ('K') | « pkg/mdv/test/template_element_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698