OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |