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

Unified Diff: pkg/custom_element/lib/polyfill.dart

Issue 153063003: regenerate fixed custom_elements polyfill (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: update pubspec, revision info Created 6 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 | « pkg/custom_element/lib/custom-elements.min.js ('k') | pkg/custom_element/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/custom_element/lib/polyfill.dart
diff --git a/pkg/custom_element/lib/polyfill.dart b/pkg/custom_element/lib/polyfill.dart
index 939fb36ed9f7845cd3d24d267d65d3ae2ddf6cec..413d7d699a04f0e2acb736234d887a811520642e 100644
--- a/pkg/custom_element/lib/polyfill.dart
+++ b/pkg/custom_element/lib/polyfill.dart
@@ -54,12 +54,6 @@ bool get _isReady {
*/
Future loadCustomElementPolyfill() {
if (!document.supportsRegister && !js.context.hasProperty('CustomElements')) {
- if (!MutationObserver.supported) {
- var script = new ScriptElement()
- ..src = '/packages/mutation_observer/mutation_observer.js';
- document.head.append(script);
- }
-
var script = new ScriptElement()
..src = '/packages/custom_element/custom-elements.debug.js';
document.head.append(script);
« no previous file with comments | « pkg/custom_element/lib/custom-elements.min.js ('k') | pkg/custom_element/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698