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
a1d3c595d0
commit
cd12f1778e
21 changed files with 20 additions and 21 deletions
|
@ -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 () {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue