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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 23451006: Changing onCreated callback to created. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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:
Download patch
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index 955ddaccc4ead6ad46edd0adf4b1e920251954f1..5994e51ddfefa40994a01667e9e1a28fa64d2d0e 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -9126,7 +9126,7 @@ abstract class Element extends Node implements ParentNode, ChildNode native "Ele
* Called by the DOM when this element has been instantiated.
*/
@Experimental()
- void onCreated() {}
+ void created() {}
// Hooks to support custom WebComponents.
@@ -30759,8 +30759,8 @@ EventTarget _convertDartToNative_EventTarget(e) {
// BSD-style license that can be found in the LICENSE file.
-_callOnCreated(receiver) {
- return receiver.onCreated();
+_callCreated(receiver) {
+ return receiver.created();
}
_makeCreatedCallbackMethod() {
@@ -30770,7 +30770,7 @@ _makeCreatedCallbackMethod() {
return invokeCallback(this);
};
})(#))''',
- convertDartClosureToJS(_callOnCreated, 1));
+ convertDartClosureToJS(_callCreated, 1));
}
void _registerCustomElement(context, document, String tag, Type type) {
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698