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

Unified Diff: pkg/polymer/lib/src/instance.dart

Issue 26660004: Updating todomvc for some polymer changes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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/polymer/lib/src/instance.dart
diff --git a/pkg/polymer/lib/src/instance.dart b/pkg/polymer/lib/src/instance.dart
index 348ca393c42ebae0b29c5f5836e338ca795a0054..008792c1398daa6f369e2bf372b34ed0b5ba4838 100644
--- a/pkg/polymer/lib/src/instance.dart
+++ b/pkg/polymer/lib/src/instance.dart
@@ -432,8 +432,8 @@ abstract class Polymer implements Element {
// cascading our tree (as we do, for example, when the element is inserted).
if (preventCascade == true) return;
_forNodeTree(shadowRoot, (n) {
- if (n is PolymerElement) {
- (n as PolymerElement).cancelUnbindAll();
+ if (n is Polymer) {
+ (n as Polymer).cancelUnbindAll();
}
});
}
@@ -552,7 +552,7 @@ abstract class Polymer implements Element {
* bind a property in A to a path in B by converting A[property] to a
* getter/setter pair that accesses B[...path...]
*/
- static NodeBinding _bindProperties(PolymerElement inA, Symbol inProperty,
+ static NodeBinding _bindProperties(Polymer inA, Symbol inProperty,
Object inB, String inPath) {
if (_bindLog.isLoggable(Level.INFO)) {
@@ -867,7 +867,7 @@ class _PolymerBinding extends NodeBinding {
StreamSubscription _sub;
Object _lastValue;
- _PolymerBinding(PolymerElement node, Symbol property, model, path)
+ _PolymerBinding(Polymer node, Symbol property, model, path)
: _target = reflect(node),
_property = property,
super(node, MirrorSystem.getName(property), model, path) {
« no previous file with comments | « no previous file | pkg/polymer/test/take_attributes_test.dart » ('j') | pkg/polymer/test/take_attributes_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698