Index: pkg/polymer/lib/src/declaration.dart |
diff --git a/pkg/polymer/lib/src/declaration.dart b/pkg/polymer/lib/src/declaration.dart |
index fb5c8c95e64373f1cc63b65f2de3aa2914887a9f..1dedadaa266041b59944768731425f7dc64a8d54 100644 |
--- a/pkg/polymer/lib/src/declaration.dart |
+++ b/pkg/polymer/lib/src/declaration.dart |
@@ -462,6 +462,10 @@ class PolymerDeclaration { |
// createPolymerAccessors is done lazily on the first access of properties. |
// Here we just extract the information from annotations and store it as |
// properties on the declaration. |
+ |
+ // Dart Note: The js side makes computed properties read only, and does |
+ // special logic right here for them. For us they are automatically read |
+ // only unless you define a setter for them, so we left that out. |
var options = const smoke.QueryOptions(includeInherited: true, |
includeUpTo: HtmlElement, withAnnotations: const [ComputedProperty]); |
var existing = {}; |
@@ -483,6 +487,8 @@ final Map _typesByName = new Map<String, Type>(); |
Type _getRegisteredType(String name) => _typesByName[name]; |
+/// Dart Note: instanceOfType not implemented for dart, its not needed. |
+ |
/// track document.register'ed tag names and their declarations |
final Map _declarations = new Map<String, PolymerDeclaration>(); |