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

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

Issue 34623011: Fixes needed for the deploy step. (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
« no previous file with comments | « pkg/custom_element/lib/polyfill.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
}
« no previous file with comments | « pkg/custom_element/lib/polyfill.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698