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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 if ((!HTMLElement.prototype.createShadowRoot && 1 if ((!HTMLElement.prototype.createShadowRoot) ||
2 !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.
3 window.__forceShadowDomPolyfill) { 2 window.__forceShadowDomPolyfill) {
4 3
5 /* 4 /*
6 * Copyright 2013 The Polymer Authors. All rights reserved. 5 * Copyright 2013 The Polymer Authors. All rights reserved.
7 * Use of this source code is governed by a BSD-style 6 * Use of this source code is governed by a BSD-style
8 * license that can be found in the LICENSE file. 7 * license that can be found in the LICENSE file.
9 */ 8 */
10 (function() { 9 (function() {
11 // TODO(jmesserly): fix dart:html to use unprefixed name 10 // TODO(jmesserly): fix dart:html to use unprefixed name
12 if (Element.prototype.webkitCreateShadowRoot) { 11 if (Element.prototype.webkitCreateShadowRoot) {
(...skipping 5668 matching lines...) Expand 10 before | Expand all | Expand 10 after
5681 for (var i=0, css=[]; i < cssRules.length; i++) { 5680 for (var i=0, css=[]; i < cssRules.length; i++) {
5682 css.push(cssRules[i].cssText); 5681 css.push(cssRules[i].cssText);
5683 } 5682 }
5684 return css.join('\n\n'); 5683 return css.join('\n\n');
5685 } 5684 }
5686 5685
5687 // exports 5686 // exports
5688 scope.ShadowCSS.shimShadowDOMStyling2 = shimShadowDOMStyling2; 5687 scope.ShadowCSS.shimShadowDOMStyling2 = shimShadowDOMStyling2;
5689 })(window.Platform); 5688 })(window.Platform);
5690 5689
5691 } 5690 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698