mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
module resolution for loading, page and playerSelectionMenu
This commit is contained in:
parent
52af8d487e
commit
f56a82b800
11 changed files with 1093 additions and 11 deletions
|
@ -1,6 +1,10 @@
|
|||
define(['css!./loading-lite'], function () {
|
||||
define(['components/loading/loadingLegacy', 'browser', 'css!./loading'], function (loadingLegacy, browser) {
|
||||
'use strict';
|
||||
|
||||
if (browser.tizen || browser.operaTv || browser.chromecast || browser.orsay || browser.web0s || browser.ps4) {
|
||||
return loadingLegacy;
|
||||
}
|
||||
|
||||
var loadingElem;
|
||||
var layer1;
|
||||
var layer2;
|
|
@ -1,4 +1,4 @@
|
|||
define(['require', 'css!./loading-legacy'], function (require) {
|
||||
define(['require', 'css!./loadingLegacy'], function (require) {
|
||||
'use strict';
|
||||
|
||||
var loadingElem;
|
3
src/components/loading/package.json
Normal file
3
src/components/loading/package.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"main": "loading.js"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue