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

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

Issue 268313002: [dart:html] rename register to registerElement per spec (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase Created 6 years, 7 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/element_upgrade_test.dart ('k') | tests/html/custom/js_custom_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/custom/entered_left_view_test.dart
diff --git a/tests/html/custom/entered_left_view_test.dart b/tests/html/custom/entered_left_view_test.dart
index 069c0329b284f7979a7bcc286c0699060cb2648f..a2804bc1680512977fd9476ca4efed1f16afdadd 100644
--- a/tests/html/custom/entered_left_view_test.dart
+++ b/tests/html/custom/entered_left_view_test.dart
@@ -77,8 +77,8 @@ main() {
setUp(() => customElementsReady.then((_) {
if (registeredTypes) return;
registeredTypes = true;
- document.register('x-a', Foo);
- document.register('x-a-old', FooOldCallbacks);
+ document.registerElement('x-a', Foo);
+ document.registerElement('x-a-old', FooOldCallbacks);
}));
group('standard_events', () {
« no previous file with comments | « tests/html/custom/element_upgrade_test.dart ('k') | tests/html/custom/js_custom_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698