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

Unified Diff: lib/interop.dart

Issue 839013003: CustomElementProxy annotation (Closed) Base URL: git@github.com:dart-lang/web-components.git@master
Patch Set: update initialize dependency Created 5 years, 11 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 | « lib/custom_element_proxy.dart ('k') | lib/interop_support.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/interop.dart
diff --git a/lib/interop.dart b/lib/interop.dart
index 17668504d72f1d0310b9024e51fe46f10e5798cd..4779b80e0696724e17328048db43d5ddcd99e528 100644
--- a/lib/interop.dart
+++ b/lib/interop.dart
@@ -6,7 +6,6 @@
/// This will not work unless `dart_support.js` is loaded.
library web_components.interop;
-import 'dart:async' show Stream, StreamController;
import 'dart:html' show document, Element;
import 'dart:js' show JsObject, JsFunction;
@@ -27,8 +26,8 @@ void registerDartType(String tagName, Type dartType, {String extendsTag}) {
"available before calling this function.");
}
- var upgrader = document.createElementUpgrader(
- dartType, extendsTag: extendsTag);
+ var upgrader =
+ document.createElementUpgrader(dartType, extendsTag: extendsTag);
// Unfortunately the dart:html upgrader will throw on an already-upgraded
// element, so we need to duplicate the type check to prevent that.
« no previous file with comments | « lib/custom_element_proxy.dart ('k') | lib/interop_support.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698