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

Unified Diff: pkg/polymer/test/publish_attributes_test.dart

Issue 26051002: Updating Polymer to derive from custom elements. (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
Index: pkg/polymer/test/publish_attributes_test.dart
diff --git a/pkg/polymer/test/publish_attributes_test.dart b/pkg/polymer/test/publish_attributes_test.dart
index e31b74f92ad27ce26092874fc5d6b5e7355cf0fb..7aab5cce125fdca26e7071399d15b3aff2e04e7a 100644
--- a/pkg/polymer/test/publish_attributes_test.dart
+++ b/pkg/polymer/test/publish_attributes_test.dart
@@ -12,22 +12,30 @@ import 'package:polymer/polymer.dart';
// So we define XFoo and XBar types here.
@CustomTag('x-foo')
class XFoo extends PolymerElement {
+ XFoo.created() : super.created();
+
@observable var Foo;
@observable var baz;
}
@CustomTag('x-bar')
class XBar extends XFoo {
+ XBar.created() : super.created();
+
@observable var Bar;
}
@CustomTag('x-zot')
class XZot extends XBar {
+ XZot.created() : super.created();
+
@published int zot = 3;
}
@CustomTag('x-squid')
class XSquid extends XZot {
+ XSquid.created() : super.created();
+
@published int baz = 13;
@published int zot = 5;
@published int squid = 7;

Powered by Google App Engine
This is Rietveld 408576698