Index: pkg/template_binding/test/custom_element_bindings_test.dart |
diff --git a/pkg/template_binding/test/custom_element_bindings_test.dart b/pkg/template_binding/test/custom_element_bindings_test.dart |
index 7508a31719543c853a578c63e96406b8ea0ec9b6..17793612392932b066f1988bcc9087ab652e2a33 100644 |
--- a/pkg/template_binding/test/custom_element_bindings_test.dart |
+++ b/pkg/template_binding/test/custom_element_bindings_test.dart |
@@ -6,6 +6,7 @@ library template_binding.test.custom_element_bindings_test; |
import 'dart:async'; |
import 'dart:html'; |
+import 'package:custom_element/polyfill.dart'; |
import 'package:template_binding/template_binding.dart'; |
import 'package:observe/observe.dart' show toObservable; |
import 'package:unittest/html_config.dart'; |
@@ -25,16 +26,6 @@ main() { |
group('Custom Element Bindings', customElementBindingsTest); |
} |
-Future loadCustomElementPolyfill() { |
- if (!document.supportsRegister) { |
- var script = new ScriptElement() |
- ..src = '/packages/custom_element/custom-elements.debug.js'; |
- document.head.append(script); |
- return document.on['WebComponentsReady'].first; |
- } |
- return new Future.value(); |
-} |
- |
customElementBindingsTest() { |
setUp(() { |
document.body.append(testDiv = new DivElement()); |