Index: pkg/polymer/lib/src/declaration.dart |
diff --git a/pkg/polymer/lib/src/declaration.dart b/pkg/polymer/lib/src/declaration.dart |
index 7e6be8220decb54022c31c5223e16437a567cd80..07c0dc4074e7d72c3ea424f4193585c3611ae143 100644 |
--- a/pkg/polymer/lib/src/declaration.dart |
+++ b/pkg/polymer/lib/src/declaration.dart |
@@ -241,9 +241,7 @@ class PolymerDeclaration extends HtmlElement { |
baseTag = decl.attributes['extends']; |
decl = decl.superDeclaration; |
} |
- // native element must be specified in extends |
- var nativeExtends = baseTag; |
- document.register(name, type, extendsTag: nativeExtends); |
+ document.register(name, type, extendsTag: baseTag); |
} |
void publishAttributes(ClassMirror cls, PolymerDeclaration superDecl) { |