mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
update dependency loading
This commit is contained in:
parent
a1d3c595d0
commit
cd12f1778e
@ -1,4 +1,4 @@
|
||||
define(['components/paperdialoghelper', 'paper-item', 'paper-input', 'paper-fab'], function () {
|
||||
define(['components/paperdialoghelper', 'paper-item', 'paper-input', 'paper-fab', 'paper-item-body'], function () {
|
||||
|
||||
var systemInfo;
|
||||
function getSystemInfo() {
|
||||
|
@ -1,4 +1,4 @@
|
||||
define(['components/paperdialoghelper', 'paper-dialog', 'paper-input', 'paper-fab'], function () {
|
||||
define(['components/paperdialoghelper', 'paper-dialog', 'paper-input', 'paper-fab', 'paper-item-body'], function () {
|
||||
|
||||
var currentDeferred;
|
||||
var hasChanges;
|
||||
|
@ -1,4 +1,4 @@
|
||||
define(['components/paperdialoghelper', 'paper-fab'], function () {
|
||||
define(['components/paperdialoghelper', 'paper-fab', 'paper-item-body'], function () {
|
||||
|
||||
var currentDeferred;
|
||||
var hasChanges;
|
||||
|
@ -1,4 +1,4 @@
|
||||
define(['components/paperdialoghelper', 'paper-fab'], function () {
|
||||
define(['components/paperdialoghelper', 'paper-fab', 'paper-item-body'], function () {
|
||||
|
||||
var currentItem;
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<title>${TitleServer}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="dashboardPage" data-role="page" class="page type-interior dashboardHomePage" data-require="scripts/dashboardpage,humanedate,buttonenabled,paper-icon-item,paper-item-body,paper-fab">
|
||||
<div id="dashboardPage" data-role="page" class="page type-interior dashboardHomePage" data-require="scripts/dashboardpage,humanedate,buttonenabled,paper-icon-item,paper-item-body,paper-fab,paper-item-body">
|
||||
|
||||
<div data-role="content">
|
||||
<div class="content-primary">
|
||||
|
@ -4,7 +4,7 @@
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="itemDetailPage" data-role="page" class="page libraryPage itemDetailPage noSecondaryNavPage" data-theme="b" data-require="scripts/itemdetailpage,tileitemcss,scripts/livetvcomponents,paper-fab">
|
||||
<div id="itemDetailPage" data-role="page" class="page libraryPage itemDetailPage noSecondaryNavPage" data-theme="b" data-require="scripts/itemdetailpage,tileitemcss,scripts/livetvcomponents,paper-fab,paper-item-body">
|
||||
|
||||
<div id="tvShowsTabs" class="itemTabs" style="display: none;">
|
||||
<div class="libraryViewNav scopedLibraryViewNav">
|
||||
|
@ -4,7 +4,7 @@
|
||||
<title>${TitleLiveTV}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="liveTvStatusPage" data-role="page" class="page type-interior liveTvSettingsPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Live%20TV" data-require="scripts/livetvstatus,scripts/taskbutton,paper-fab">
|
||||
<div id="liveTvStatusPage" data-role="page" class="page type-interior liveTvSettingsPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Live%20TV" data-require="scripts/livetvstatus,scripts/taskbutton,paper-fab,paper-item-body">
|
||||
|
||||
<div data-role="content">
|
||||
<div class="content-primary">
|
||||
|
@ -5,7 +5,7 @@
|
||||
<title>Emby</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="homeScreenPreferencesPage" data-role="page" class="page libraryPage userPreferencesPage noSecondaryNavPage" data-title="${HeaderHomeScreenSettings}" data-require="scripts/mypreferenceshome,paper-checkbox,paper-fab" data-backbutton="true" data-menubutton="false">
|
||||
<div id="homeScreenPreferencesPage" data-role="page" class="page libraryPage userPreferencesPage noSecondaryNavPage" data-title="${HeaderHomeScreenSettings}" data-require="scripts/mypreferenceshome,paper-checkbox,paper-fab,paper-item-body" data-backbutton="true" data-menubutton="false">
|
||||
|
||||
<div data-role="content">
|
||||
<form class="homeScreenPreferencesForm userProfileSettingsForm" style="margin: 0 auto;">
|
||||
|
@ -5,7 +5,7 @@
|
||||
<title>Emby</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="myPreferencesMenuPage" data-role="page" class="page libraryPage userPreferencesPage noSecondaryNavPage" data-contextname="${HeaderSettings}" data-require="scripts/mypreferencescommon,paper-fab">
|
||||
<div id="myPreferencesMenuPage" data-role="page" class="page libraryPage userPreferencesPage noSecondaryNavPage" data-contextname="${HeaderSettings}" data-require="scripts/mypreferencescommon,paper-fab,paper-item-body">
|
||||
|
||||
<div data-role="content">
|
||||
<div class="readOnlyContent" style="margin: 0 auto;">
|
||||
|
@ -4,7 +4,7 @@
|
||||
<title>${TitleSync}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="mySyncJobPage" data-role="page" class="page libraryPage syncJobPage mySyncPage noSecondaryNavPage" data-contextname="${TitleSync}" data-require="jqmcollapsible,scripts/syncjob,paper-fab" data-backbutton="true" data-menubutton="false">
|
||||
<div id="mySyncJobPage" data-role="page" class="page libraryPage syncJobPage mySyncPage noSecondaryNavPage" data-contextname="${TitleSync}" data-require="jqmcollapsible,scripts/syncjob,paper-fab,paper-item-body" data-backbutton="true" data-menubutton="false">
|
||||
|
||||
<div data-role="content">
|
||||
|
||||
|
@ -88,7 +88,7 @@
|
||||
|
||||
})).then(function (result) {
|
||||
|
||||
require(['paper-fab'], function() {
|
||||
require(['paper-fab', 'paper-item-body'], function () {
|
||||
load(page, result.Items);
|
||||
});
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
return new Promise(function (resolve, reject) {
|
||||
|
||||
require(['paper-fab'], function () {
|
||||
require(['paper-fab', 'paper-item-body'], function () {
|
||||
var html = '';
|
||||
|
||||
var index = '';
|
||||
|
@ -109,7 +109,7 @@
|
||||
|
||||
}).then(function (result) {
|
||||
|
||||
require(['paper-fab'], function () {
|
||||
require(['paper-fab', 'paper-item-body'], function () {
|
||||
renderRecordingGroups(page, result.Items);
|
||||
});
|
||||
});
|
||||
|
@ -104,7 +104,7 @@
|
||||
|
||||
ApiClient.getLiveTvSeriesTimers(query).then(function (result) {
|
||||
|
||||
require(['paper-fab'], function() {
|
||||
require(['paper-fab', 'paper-item-body'], function () {
|
||||
renderTimers(page, result.Items);
|
||||
});
|
||||
|
||||
|
@ -108,7 +108,7 @@
|
||||
});
|
||||
}
|
||||
|
||||
require(['humanedate', 'paper-fab'], function () {
|
||||
require(['humanedate', 'paper-fab', 'paper-item-body'], function () {
|
||||
for (var i = 0, length = list.length; i < length; i++) {
|
||||
|
||||
var notification = list[i];
|
||||
|
@ -66,7 +66,7 @@
|
||||
|
||||
var page = this;
|
||||
|
||||
require(['paper-fab'], function () {
|
||||
require(['paper-fab', 'paper-item-body'], function () {
|
||||
reload(page);
|
||||
});
|
||||
});
|
||||
|
@ -97,7 +97,7 @@
|
||||
|
||||
function showPlaybackOverlay(deferred) {
|
||||
|
||||
require(['components/paperdialoghelper', 'paper-fab'], function () {
|
||||
require(['components/paperdialoghelper', 'paper-fab', 'paper-item-body'], function () {
|
||||
|
||||
var dlg = PaperDialogHelper.createDialog({});
|
||||
|
||||
|
@ -280,7 +280,7 @@
|
||||
|
||||
startInterval();
|
||||
|
||||
require(['paper-fab', 'paper-progress'], function () {
|
||||
require(['paper-fab', 'paper-progress', 'paper-item-body'], function () {
|
||||
reloadList(page);
|
||||
});
|
||||
|
||||
|
@ -2007,7 +2007,6 @@ var AppInfo = {};
|
||||
|
||||
// TODO: These need to be removed
|
||||
deps.push('paper-icon-item');
|
||||
deps.push('paper-item-body');
|
||||
|
||||
require(deps, function () {
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<title>Emby</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="selectServerPage" data-role="page" class="page libraryPage noSecondaryNavPage" data-theme="b" data-require="scripts/selectserver,paper-fab">
|
||||
<div id="selectServerPage" data-role="page" class="page libraryPage noSecondaryNavPage" data-theme="b" data-require="scripts/selectserver,paper-fab,paper-item-body">
|
||||
|
||||
<div data-role="content">
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<title>${TitleSync}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="syncJobPage" data-role="page" class="page type-interior syncConfigurationPage syncJobPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Sync" data-require="jqmcontrolgroup,scripts/syncjob,paper-fab">
|
||||
<div id="syncJobPage" data-role="page" class="page type-interior syncConfigurationPage syncJobPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Sync" data-require="jqmcontrolgroup,scripts/syncjob,paper-fab,paper-item-body">
|
||||
|
||||
<div data-role="content">
|
||||
<div class="content-primary">
|
||||
|
Loading…
Reference in New Issue
Block a user