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

Unified Diff: tests/html/custom/attribute_changed_callback_test.dart

Issue 26592009: Removing Element.createdCallback (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: tests/html/custom/attribute_changed_callback_test.dart
diff --git a/tests/html/custom/attribute_changed_callback_test.dart b/tests/html/custom/attribute_changed_callback_test.dart
index 1bcc4530d3829a603dfbc6519b5c89474517a637..69d93576f91639727228bc9f43df6a37f90f0574 100644
--- a/tests/html/custom/attribute_changed_callback_test.dart
+++ b/tests/html/custom/attribute_changed_callback_test.dart
@@ -25,14 +25,12 @@ class A extends HtmlElement {
class B extends HtmlElement {
static final tag = 'x-b';
factory B() => new Element.tag(tag);
- B.created() : super.created();
-
- static var invocations = [];
-
- void createdCallback() {
+ B.created() : super.created() {
invocations.add('created');
}
+ static var invocations = [];
+
void attributeChanged(name, oldValue, newValue) {
invocations.add('$name: $oldValue => $newValue');
}
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tests/html/custom/constructor_calls_created_synchronously_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698