| Index: pkg/polymer/lib/src/instance.dart
|
| diff --git a/pkg/polymer/lib/src/instance.dart b/pkg/polymer/lib/src/instance.dart
|
| index 6660951ebd42a3a8f5a99307d4a7ecd90e6cbd70..62026eec74e0e5666addedbed7902fb7dbffa457 100644
|
| --- a/pkg/polymer/lib/src/instance.dart
|
| +++ b/pkg/polymer/lib/src/instance.dart
|
| @@ -25,7 +25,7 @@ class PublishedProperty extends ObservableProperty {
|
| * The mixin class for Polymer elements. It provides convenience features on top
|
| * of the custom elements web standard.
|
| */
|
| -abstract class Polymer implements Element {
|
| +abstract class Polymer implements Element, Observable {
|
| // Fully ported from revision:
|
| // https://github.com/Polymer/polymer/blob/4dc481c11505991a7c43228d3797d28f21267779
|
| //
|
| @@ -39,7 +39,6 @@ abstract class Polymer implements Element {
|
| // Not yet ported:
|
| // src/instance/style.js -- blocked on ShadowCSS.shimPolyfillDirectives
|
|
|
| -
|
| // TODO(jmesserly): should this really be public?
|
| /** Regular expression that matches data-bindings. */
|
| static final bindPattern = new RegExp(r'\{\{([^{}]*)}}');
|
| @@ -250,7 +249,7 @@ abstract class Polymer implements Element {
|
| /** Locate nodes with id and store references to them in [$] hash. */
|
| void marshalNodeReferences(Node root) {
|
| if (root == null) return;
|
| - for (var n in root.queryAll('[id]')) {
|
| + for (var n in (root as dynamic).queryAll('[id]')) {
|
| $[n.id] = n;
|
| }
|
| }
|
|
|