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

Side by Side Diff: pkg/web_components/lib/platform.concat.js

Issue 516043002: fix for getDefaultComputedStyles (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: update pubspec and changelog Created 6 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
« no previous file with comments | « pkg/web_components/lib/platform.js ('k') | pkg/web_components/lib/platform.concat.js.map » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /** 1 /**
2 * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. 2 * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 * This code may only be used under the BSD style license found at http://polyme r.github.io/LICENSE.txt 3 * This code may only be used under the BSD style license found at http://polyme r.github.io/LICENSE.txt
4 * The complete set of authors may be found at http://polymer.github.io/AUTHORS. txt 4 * The complete set of authors may be found at http://polymer.github.io/AUTHORS. txt
5 * The complete set of contributors may be found at http://polymer.github.io/CON TRIBUTORS.txt 5 * The complete set of contributors may be found at http://polymer.github.io/CON TRIBUTORS.txt
6 * Code distributed by Google as part of the polymer project is also 6 * Code distributed by Google as part of the polymer project is also
7 * subject to an additional IP rights grant found at http://polymer.github.io/PA TENTS.txt 7 * subject to an additional IP rights grant found at http://polymer.github.io/PA TENTS.txt
8 */ 8 */
9 9
10 window.Platform = window.Platform || {}; 10 window.Platform = window.Platform || {};
(...skipping 7773 matching lines...) Expand 10 before | Expand all | Expand 10 after
7784 unwrapIfNeeded(el), pseudo); 7784 unwrapIfNeeded(el), pseudo);
7785 }; 7785 };
7786 } 7786 }
7787 7787
7788 OriginalWindow.prototype.getSelection = function() { 7788 OriginalWindow.prototype.getSelection = function() {
7789 return wrap(this || window).getSelection(); 7789 return wrap(this || window).getSelection();
7790 }; 7790 };
7791 7791
7792 // Work around for https://bugzilla.mozilla.org/show_bug.cgi?id=943065 7792 // Work around for https://bugzilla.mozilla.org/show_bug.cgi?id=943065
7793 delete window.getComputedStyle; 7793 delete window.getComputedStyle;
7794 delete window.getDefaultComputedStyle;
7794 delete window.getSelection; 7795 delete window.getSelection;
7795 7796
7796 ['addEventListener', 'removeEventListener', 'dispatchEvent'].forEach( 7797 ['addEventListener', 'removeEventListener', 'dispatchEvent'].forEach(
7797 function(name) { 7798 function(name) {
7798 OriginalWindow.prototype[name] = function() { 7799 OriginalWindow.prototype[name] = function() {
7799 var w = wrap(this || window); 7800 var w = wrap(this || window);
7800 return w[name].apply(w, arguments); 7801 return w[name].apply(w, arguments);
7801 }; 7802 };
7802 7803
7803 // Work around for https://bugzilla.mozilla.org/show_bug.cgi?id=943065 7804 // Work around for https://bugzilla.mozilla.org/show_bug.cgi?id=943065
(...skipping 6785 matching lines...) Expand 10 before | Expand all | Expand 10 after
14589 return imported; 14590 return imported;
14590 } 14591 }
14591 } 14592 }
14592 14593
14593 // exports 14594 // exports
14594 scope.flush = flush; 14595 scope.flush = flush;
14595 14596
14596 })(window.Platform); 14597 })(window.Platform);
14597 14598
14598 14599
14599 //# sourceMappingURL=platform.concat.js.map 14600 //# sourceMappingURL=platform.concat.js.map
OLDNEW
« no previous file with comments | « pkg/web_components/lib/platform.js ('k') | pkg/web_components/lib/platform.concat.js.map » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698