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

Unified Diff: tools/dom/src/dart2js_CustomElementSupport.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
« no previous file with comments | « tests/html/custom_elements_test.dart ('k') | tools/dom/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/src/dart2js_CustomElementSupport.dart
diff --git a/tools/dom/src/dart2js_CustomElementSupport.dart b/tools/dom/src/dart2js_CustomElementSupport.dart
index e601ef03ab63612144c0cf35123a636284814b0c..95c64b678f51a7821c8c6dffc510de769523f684 100644
--- a/tools/dom/src/dart2js_CustomElementSupport.dart
+++ b/tools/dom/src/dart2js_CustomElementSupport.dart
@@ -4,8 +4,8 @@
part of dart.dom.html;
-_callOnCreated(receiver) {
- return receiver.onCreated();
+_callCreated(receiver) {
+ return receiver.created();
}
_makeCreatedCallbackMethod() {
@@ -15,7 +15,7 @@ _makeCreatedCallbackMethod() {
return invokeCallback(this);
};
})(#))''',
- convertDartClosureToJS(_callOnCreated, 1));
+ convertDartClosureToJS(_callCreated, 1));
}
void _registerCustomElement(context, document, String tag, Type type) {
« no previous file with comments | « tests/html/custom_elements_test.dart ('k') | tools/dom/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698