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

Unified Diff: pkg/shadow_dom/tool/build/if-poly.js

Issue 24096027: Dart2js support for custom element lifecycle events (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Regenerating shadow DOM polyfill Created 7 years, 3 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
Index: pkg/shadow_dom/tool/build/if-poly.js
diff --git a/pkg/shadow_dom/tool/build/if-poly.js b/pkg/shadow_dom/tool/build/if-poly.js
index 7503d653851789e15f451468779b6077619bb610..98e59bccd3e2bfb7b957502e825b936452de6ec1 100644
--- a/pkg/shadow_dom/tool/build/if-poly.js
+++ b/pkg/shadow_dom/tool/build/if-poly.js
@@ -1,3 +1,2 @@
-if ((!HTMLElement.prototype.createShadowRoot &&
- !HTMLElement.prototype.webkitCreateShadowRoot) ||
+if ((!HTMLElement.prototype.createShadowRoot) ||
window.__forceShadowDomPolyfill) {
« no previous file with comments | « pkg/shadow_dom/lib/src/platform/patches-shadowdom-polyfill.js ('k') | sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698