mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update dependency loading
This commit is contained in:
parent
cd12f1778e
commit
ac90f38b8e
20 changed files with 19 additions and 22 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue