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

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

Issue 23451006: Changing onCreated callback to created. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 3e78587c9b0ae07eccfefef8f2a05f9f17d12340..955399f3abe7dad56152e43df0a8310e4abe4533 100644
--- a/tests/html/custom/attribute_changed_callback_test.dart
+++ b/tests/html/custom/attribute_changed_callback_test.dart
@@ -13,7 +13,7 @@ class A extends HtmlElement {
static var attributeChangedInvocations = 0;
- void onAttributeChanged(name, oldValue, newValue) {
+ void attributeChanged(name, oldValue, newValue) {
attributeChangedInvocations++;
}
}
@@ -24,11 +24,11 @@ class B extends HtmlElement {
static var invocations = [];
- void onCreated() {
+ void created() {
invocations.add('created');
}
- void onAttributeChanged(name, oldValue, newValue) {
+ 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