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

Unified Diff: pkg/shadow_dom/lib/shadow_dom.debug.js

Issue 24096027: Dart2js support for custom element lifecycle events (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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/lib/shadow_dom.debug.js
diff --git a/pkg/shadow_dom/lib/shadow_dom.debug.js b/pkg/shadow_dom/lib/shadow_dom.debug.js
index b889a5ef7641e88b18def663b474fd422bcafc32..a4c36ab5e9b05e27c44da66945835c4eacc45125 100644
--- a/pkg/shadow_dom/lib/shadow_dom.debug.js
+++ b/pkg/shadow_dom/lib/shadow_dom.debug.js
@@ -1,5 +1,4 @@
-if ((!HTMLElement.prototype.createShadowRoot &&
- !HTMLElement.prototype.webkitCreateShadowRoot) ||
Jennifer Messerly 2013/09/20 17:58:35 nice! I glad to see we got this fix in :) do you
blois 2013/09/20 21:39:38 Done.
+if ((!HTMLElement.prototype.createShadowRoot) ||
window.__forceShadowDomPolyfill) {
/*
@@ -5688,4 +5687,4 @@ scope.ShadowCSS = ShadowCSS;
scope.ShadowCSS.shimShadowDOMStyling2 = shimShadowDOMStyling2;
})(window.Platform);
-}
+}

Powered by Google App Engine
This is Rietveld 408576698