mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 11:28:23 -07:00
update imports
This commit is contained in:
parent
7029c9112b
commit
20df393f36
@ -30,6 +30,6 @@
|
|||||||
"commit": "14d2ca3df97da64c820829a8310f9198fbafbcfa"
|
"commit": "14d2ca3df97da64c820829a8310f9198fbafbcfa"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/desandro/eventie.git",
|
"_source": "git://github.com/desandro/eventie.git",
|
||||||
"_target": "^1",
|
"_target": "~1.0.3",
|
||||||
"_originalSource": "eventie"
|
"_originalSource": "eventie"
|
||||||
}
|
}
|
@ -32,14 +32,14 @@
|
|||||||
"iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0"
|
"iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0"
|
||||||
},
|
},
|
||||||
"ignore": [],
|
"ignore": [],
|
||||||
"homepage": "https://github.com/PolymerElements/paper-ripple",
|
"homepage": "https://github.com/polymerelements/paper-ripple",
|
||||||
"_release": "1.0.5",
|
"_release": "1.0.5",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.0.5",
|
"tag": "v1.0.5",
|
||||||
"commit": "d72e7a9a8ab518b901ed18dde492df3b87a93be5"
|
"commit": "d72e7a9a8ab518b901ed18dde492df3b87a93be5"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/PolymerElements/paper-ripple.git",
|
"_source": "git://github.com/polymerelements/paper-ripple.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "PolymerElements/paper-ripple"
|
"_originalSource": "polymerelements/paper-ripple"
|
||||||
}
|
}
|
@ -2452,11 +2452,19 @@ var AppInfo = {};
|
|||||||
Dashboard.initPromise = new Promise(function (resolve, reject) {
|
Dashboard.initPromise = new Promise(function (resolve, reject) {
|
||||||
|
|
||||||
function onWebComponentsReady() {
|
function onWebComponentsReady() {
|
||||||
if (Dashboard.isRunningInCordova()) {
|
|
||||||
initCordova(resolve);
|
var link = document.createElement('link');
|
||||||
} else {
|
link.rel = 'import';
|
||||||
init(resolve, Dashboard.capabilities());
|
|
||||||
}
|
link.onload = function() {
|
||||||
|
if (Dashboard.isRunningInCordova()) {
|
||||||
|
initCordova(resolve);
|
||||||
|
} else {
|
||||||
|
init(resolve, Dashboard.capabilities());
|
||||||
|
}
|
||||||
|
};
|
||||||
|
link.href = "vulcanize-out.html?v=" + window.dashboardVersion;
|
||||||
|
document.head.appendChild(link);
|
||||||
}
|
}
|
||||||
|
|
||||||
setBrowserInfo(isMobile);
|
setBrowserInfo(isMobile);
|
||||||
@ -2466,10 +2474,7 @@ var AppInfo = {};
|
|||||||
if (supportsNativeWebComponents) {
|
if (supportsNativeWebComponents) {
|
||||||
onWebComponentsReady();
|
onWebComponentsReady();
|
||||||
} else {
|
} else {
|
||||||
document.addEventListener('WebComponentsReady', function () {
|
document.addEventListener('WebComponentsReady', onWebComponentsReady);
|
||||||
|
|
||||||
setTimeout(onWebComponentsReady, 500);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user