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

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

Issue 342533003: fix type annotation of $ (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
« no previous file with comments | « no previous file | pkg/polymer/pubspec.yaml » ('j') | 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 ceb1119fbd623c0133bfe51e9dc2c24bfc213ad9..7838acaf525a51455ae44c376fc61283102b89f6 100644
--- a/pkg/polymer/lib/src/instance.dart
+++ b/pkg/polymer/lib/src/instance.dart
@@ -212,8 +212,7 @@ abstract class Polymer implements Element, Observable, NodeBindExtension {
// Note: this is observable to support $['someId'] being used in templates.
// The template is stamped before $ is populated, so we need observation if
// we want it to be usable in bindings.
- @reflectable final Map<String, Element> $ =
- new ObservableMap<String, Element>();
+ final Map<String, dynamic> $ = new ObservableMap<String, dynamic>();
/// Use to override the default syntax for polymer-elements.
/// By default this will be null, which causes [instanceTemplate] to use
« no previous file with comments | « no previous file | pkg/polymer/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698