| Index: pkg/polymer/lib/src/declaration.dart
|
| diff --git a/pkg/polymer/lib/src/declaration.dart b/pkg/polymer/lib/src/declaration.dart
|
| index 6436ffd25d4b66508a40a9f786ac1244a3c4ce30..9bd5719a493fdf075fe6864f9ef42ac07495032e 100644
|
| --- a/pkg/polymer/lib/src/declaration.dart
|
| +++ b/pkg/polymer/lib/src/declaration.dart
|
| @@ -237,10 +237,10 @@ class PolymerDeclaration extends CustomElement {
|
| installSheets();
|
| // TODO(jmesserly): this feels unnatrual in Dart. Since we have convenient
|
| // lazy static initialization, can we get by without it?
|
| - var registered = type.methods[const Symbol('registerCallback')];
|
| + var registered = type.methods[#registerCallback];
|
| if (registered != null && registered.isStatic &&
|
| registered.isRegularMethod) {
|
| - type.invoke(const Symbol('registerCallback'), [this]);
|
| + type.invoke(#registerCallback, [this]);
|
| }
|
|
|
| }
|
| @@ -583,8 +583,7 @@ bool _hasSetter(ClassMirror type, MethodMirror getter) {
|
| return type.setters.containsKey(setterName);
|
| }
|
|
|
| -bool _inDartHtml(ClassMirror type) =>
|
| - type.owner.simpleName == const Symbol('dart.dom.html');
|
| +bool _inDartHtml(ClassMirror type) => type.owner.simpleName == #dart.dom.html;
|
|
|
|
|
| /** Attribute prefix used for declarative event handlers. */
|
|
|