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

update docked tabs

This commit is contained in:
Luke Pulverenti 2016-08-15 14:18:05 -04:00
parent 818ee2bcc3
commit 16e66718f9
9 changed files with 147 additions and 80 deletions

View file

@ -7,6 +7,8 @@ var staticFileBaseUrl = baseUrl + '/staticfiles';
console.log('service worker location: ' + self.location);
console.log('service worker base url: ' + baseUrl);
var connectionManager;
function getStaticFileList() {
if (staticFileList) {
@ -100,6 +102,13 @@ self.addEventListener('activate', function (event) {
});
function getApiClient(serverId) {
if (connectionManager) {
return Promise.resolve(connectionManager.getApiClient(serverId));
}
//importScripts('serviceworker-cache-polyfill.js');
return Promise.reject();
}