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

update shared components

This commit is contained in:
Luke Pulverenti 2016-08-01 01:09:09 -04:00
parent b760de915d
commit b14198727b
15 changed files with 51 additions and 39 deletions

View file

@ -2857,12 +2857,14 @@ var AppInfo = {};
postInitDependencies.push('bower_components/emby-webcomponents/input/api');
if (navigator.serviceWorker && !AppInfo.isNativeApp) {
navigator.serviceWorker.register('serviceworker.js');
}
if (!browserInfo.tv && !AppInfo.isNativeApp) {
if (navigator.serviceWorker) {
navigator.serviceWorker.register('serviceworker.js');
}
if (window.Notification && !AppInfo.isNativeApp) {
postInitDependencies.push('bower_components/emby-webcomponents/notifications/notifications');
if (window.Notification || navigator.serviceWorker) {
postInitDependencies.push('bower_components/emby-webcomponents/notifications/notifications');
}
}
require(postInitDependencies);