mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 11:28:23 -07:00
update dependency loading
This commit is contained in:
parent
cd12f1778e
commit
ac90f38b8e
@ -1,4 +1,4 @@
|
||||
define(['components/paperdialoghelper', 'paper-dialog', 'paper-input', 'paper-fab', 'paper-item-body'], function () {
|
||||
define(['components/paperdialoghelper', 'paper-dialog', 'paper-input', 'paper-fab', 'paper-item-body', 'paper-icon-item'], function () {
|
||||
|
||||
var currentDeferred;
|
||||
var hasChanges;
|
||||
|
@ -1,4 +1,4 @@
|
||||
define(['components/paperdialoghelper', 'paper-fab', 'paper-item-body'], function () {
|
||||
define(['components/paperdialoghelper', 'paper-fab', 'paper-item-body', 'paper-icon-item'], function () {
|
||||
|
||||
var currentDeferred;
|
||||
var hasChanges;
|
||||
|
@ -1,4 +1,4 @@
|
||||
define(['components/paperdialoghelper', 'paper-fab', 'paper-item-body'], function () {
|
||||
define(['components/paperdialoghelper', 'paper-fab', 'paper-item-body', 'paper-icon-item'], 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,paper-item-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 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,paper-item-body">
|
||||
<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,paper-icon-item">
|
||||
|
||||
<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,paper-item-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,paper-item-body,paper-icon-item">
|
||||
|
||||
<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,paper-item-body" 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,paper-icon-item" 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,paper-item-body">
|
||||
<div id="myPreferencesMenuPage" data-role="page" class="page libraryPage userPreferencesPage noSecondaryNavPage" data-contextname="${HeaderSettings}" data-require="scripts/mypreferencescommon,paper-fab,paper-item-body,paper-icon-item">
|
||||
|
||||
<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,paper-item-body" 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,paper-icon-item" data-backbutton="true" data-menubutton="false">
|
||||
|
||||
<div data-role="content">
|
||||
|
||||
|
@ -88,7 +88,7 @@
|
||||
|
||||
})).then(function (result) {
|
||||
|
||||
require(['paper-fab', 'paper-item-body'], function () {
|
||||
require(['paper-fab', 'paper-item-body', 'paper-icon-item'], function () {
|
||||
load(page, result.Items);
|
||||
});
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
return new Promise(function (resolve, reject) {
|
||||
|
||||
require(['paper-fab', 'paper-item-body'], function () {
|
||||
require(['paper-fab', 'paper-item-body', 'paper-icon-item'], function () {
|
||||
var html = '';
|
||||
|
||||
var index = '';
|
||||
|
@ -109,7 +109,7 @@
|
||||
|
||||
}).then(function (result) {
|
||||
|
||||
require(['paper-fab', 'paper-item-body'], function () {
|
||||
require(['paper-fab', 'paper-item-body', 'paper-icon-item'], function () {
|
||||
renderRecordingGroups(page, result.Items);
|
||||
});
|
||||
});
|
||||
|
@ -104,7 +104,7 @@
|
||||
|
||||
ApiClient.getLiveTvSeriesTimers(query).then(function (result) {
|
||||
|
||||
require(['paper-fab', 'paper-item-body'], function () {
|
||||
require(['paper-fab', 'paper-item-body', 'paper-icon-item'], function () {
|
||||
renderTimers(page, result.Items);
|
||||
});
|
||||
|
||||
|
@ -108,7 +108,7 @@
|
||||
});
|
||||
}
|
||||
|
||||
require(['humanedate', 'paper-fab', 'paper-item-body'], function () {
|
||||
require(['humanedate', 'paper-fab', 'paper-item-body', 'paper-icon-item'], 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', 'paper-item-body'], function () {
|
||||
require(['paper-fab', 'paper-item-body', 'paper-icon-item'], function () {
|
||||
reload(page);
|
||||
});
|
||||
});
|
||||
|
@ -97,7 +97,7 @@
|
||||
|
||||
function showPlaybackOverlay(deferred) {
|
||||
|
||||
require(['components/paperdialoghelper', 'paper-fab', 'paper-item-body'], function () {
|
||||
require(['components/paperdialoghelper', 'paper-fab', 'paper-item-body', 'paper-icon-item'], function () {
|
||||
|
||||
var dlg = PaperDialogHelper.createDialog({});
|
||||
|
||||
|
@ -280,7 +280,7 @@
|
||||
|
||||
startInterval();
|
||||
|
||||
require(['paper-fab', 'paper-progress', 'paper-item-body'], function () {
|
||||
require(['paper-fab', 'paper-progress', 'paper-item-body', 'paper-icon-item'], function () {
|
||||
reloadList(page);
|
||||
});
|
||||
|
||||
|
@ -2005,9 +2005,6 @@ var AppInfo = {};
|
||||
deps.push('paper-button');
|
||||
deps.push('paper-icon-button');
|
||||
|
||||
// TODO: These need to be removed
|
||||
deps.push('paper-icon-item');
|
||||
|
||||
require(deps, function () {
|
||||
|
||||
// TODO: This needs to be deprecated, but it's used heavily
|
||||
|
@ -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,paper-item-body">
|
||||
<div id="selectServerPage" data-role="page" class="page libraryPage noSecondaryNavPage" data-theme="b" data-require="scripts/selectserver,paper-fab,paper-item-body,paper-icon-item">
|
||||
|
||||
<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,paper-item-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,paper-item-body,paper-icon-item">
|
||||
|
||||
<div data-role="content">
|
||||
<div class="content-primary">
|
||||
|
Loading…
Reference in New Issue
Block a user