1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update webcomponents

This commit is contained in:
Luke Pulverenti 2015-08-05 21:25:27 -04:00
parent 7fb95d0419
commit ffb0fd30b6
17 changed files with 128 additions and 80 deletions

View file

@ -7,7 +7,7 @@
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
// @version 0.7.9
// @version 0.7.10
if (typeof WeakMap === "undefined") {
(function() {
var defineProperty = Object.defineProperty;
@ -930,14 +930,16 @@ window.CustomElements.addModule(function(scope) {
function bootstrap() {
upgradeDocumentTree(window.wrap(document));
window.CustomElements.ready = true;
setTimeout(function() {
window.CustomElements.readyTime = Date.now();
if (window.HTMLImports) {
window.CustomElements.elapsed = window.CustomElements.readyTime - window.HTMLImports.readyTime;
}
document.dispatchEvent(new CustomEvent("WebComponentsReady", {
bubbles: true
}));
requestAnimationFrame(function() {
setTimeout(function() {
window.CustomElements.readyTime = Date.now();
if (window.HTMLImports) {
window.CustomElements.elapsed = window.CustomElements.readyTime - window.HTMLImports.readyTime;
}
document.dispatchEvent(new CustomEvent("WebComponentsReady", {
bubbles: true
}));
});
});
}
if (isIE11OrOlder && typeof window.CustomEvent !== "function") {