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

Unified Diff: pkg/polymer/test/events_test.html

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
« no previous file with comments | « pkg/polymer/test/event_path_test.html ('k') | pkg/polymer/test/instance_attrs_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/events_test.html
diff --git a/pkg/polymer/test/events_test.html b/pkg/polymer/test/events_test.html
index b077163d1c8d054b65ed4c3d16e7eed506bc4959..88aba178b0b3bdddac9b8d64c750b7b2bf97f271 100644
--- a/pkg/polymer/test/events_test.html
+++ b/pkg/polymer/test/events_test.html
@@ -26,6 +26,8 @@
@CustomTag("test-a")
class TestA extends PolymerElement {
+ TestA.created() : super.created();
+
List clicks = [];
void clickHandler() {
clicks.add('host click on: $localName (id $id)');
@@ -46,6 +48,8 @@
@CustomTag("test-b")
class TestB extends PolymerElement {
+ TestB.created() : super.created();
+
List clicks = [];
void clickHandler(event, detail, target) {
clicks.add('local click under $localName (id $id) on ${target.id}');
« no previous file with comments | « pkg/polymer/test/event_path_test.html ('k') | pkg/polymer/test/instance_attrs_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698