update dependency loading

This commit is contained in:
Luke Pulverenti 2015-12-05 10:41:46 -05:00
parent a1d3c595d0
commit cd12f1778e
21 changed files with 20 additions and 21 deletions

View File

@ -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; var systemInfo;
function getSystemInfo() { function getSystemInfo() {

View File

@ -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 currentDeferred;
var hasChanges; var hasChanges;

View File

@ -1,4 +1,4 @@
define(['components/paperdialoghelper', 'paper-fab'], function () { define(['components/paperdialoghelper', 'paper-fab', 'paper-item-body'], function () {
var currentDeferred; var currentDeferred;
var hasChanges; var hasChanges;

View File

@ -1,4 +1,4 @@
define(['components/paperdialoghelper', 'paper-fab'], function () { define(['components/paperdialoghelper', 'paper-fab', 'paper-item-body'], function () {
var currentItem; var currentItem;

View File

@ -4,7 +4,7 @@
<title>${TitleServer}</title> <title>${TitleServer}</title>
</head> </head>
<body> <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 data-role="content">
<div class="content-primary"> <div class="content-primary">

View File

@ -4,7 +4,7 @@
<title></title> <title></title>
</head> </head>
<body> <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 id="tvShowsTabs" class="itemTabs" style="display: none;">
<div class="libraryViewNav scopedLibraryViewNav"> <div class="libraryViewNav scopedLibraryViewNav">

View File

@ -4,7 +4,7 @@
<title>${TitleLiveTV}</title> <title>${TitleLiveTV}</title>
</head> </head>
<body> <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 data-role="content">
<div class="content-primary"> <div class="content-primary">

View File

@ -5,7 +5,7 @@
<title>Emby</title> <title>Emby</title>
</head> </head>
<body> <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"> <div data-role="content">
<form class="homeScreenPreferencesForm userProfileSettingsForm" style="margin: 0 auto;"> <form class="homeScreenPreferencesForm userProfileSettingsForm" style="margin: 0 auto;">

View File

@ -5,7 +5,7 @@
<title>Emby</title> <title>Emby</title>
</head> </head>
<body> <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 data-role="content">
<div class="readOnlyContent" style="margin: 0 auto;"> <div class="readOnlyContent" style="margin: 0 auto;">

View File

@ -4,7 +4,7 @@
<title>${TitleSync}</title> <title>${TitleSync}</title>
</head> </head>
<body> <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"> <div data-role="content">

View File

@ -88,7 +88,7 @@
})).then(function (result) { })).then(function (result) {
require(['paper-fab'], function() { require(['paper-fab', 'paper-item-body'], function () {
load(page, result.Items); load(page, result.Items);
}); });

View File

@ -4,7 +4,7 @@
return new Promise(function (resolve, reject) { return new Promise(function (resolve, reject) {
require(['paper-fab'], function () { require(['paper-fab', 'paper-item-body'], function () {
var html = ''; var html = '';
var index = ''; var index = '';

View File

@ -109,7 +109,7 @@
}).then(function (result) { }).then(function (result) {
require(['paper-fab'], function () { require(['paper-fab', 'paper-item-body'], function () {
renderRecordingGroups(page, result.Items); renderRecordingGroups(page, result.Items);
}); });
}); });

View File

@ -104,7 +104,7 @@
ApiClient.getLiveTvSeriesTimers(query).then(function (result) { ApiClient.getLiveTvSeriesTimers(query).then(function (result) {
require(['paper-fab'], function() { require(['paper-fab', 'paper-item-body'], function () {
renderTimers(page, result.Items); renderTimers(page, result.Items);
}); });

View File

@ -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++) { for (var i = 0, length = list.length; i < length; i++) {
var notification = list[i]; var notification = list[i];

View File

@ -66,7 +66,7 @@
var page = this; var page = this;
require(['paper-fab'], function () { require(['paper-fab', 'paper-item-body'], function () {
reload(page); reload(page);
}); });
}); });

View File

@ -97,7 +97,7 @@
function showPlaybackOverlay(deferred) { function showPlaybackOverlay(deferred) {
require(['components/paperdialoghelper', 'paper-fab'], function () { require(['components/paperdialoghelper', 'paper-fab', 'paper-item-body'], function () {
var dlg = PaperDialogHelper.createDialog({}); var dlg = PaperDialogHelper.createDialog({});

View File

@ -280,7 +280,7 @@
startInterval(); startInterval();
require(['paper-fab', 'paper-progress'], function () { require(['paper-fab', 'paper-progress', 'paper-item-body'], function () {
reloadList(page); reloadList(page);
}); });

View File

@ -2007,7 +2007,6 @@ var AppInfo = {};
// TODO: These need to be removed // TODO: These need to be removed
deps.push('paper-icon-item'); deps.push('paper-icon-item');
deps.push('paper-item-body');
require(deps, function () { require(deps, function () {

View File

@ -4,7 +4,7 @@
<title>Emby</title> <title>Emby</title>
</head> </head>
<body> <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"> <div data-role="content">

View File

@ -4,7 +4,7 @@
<title>${TitleSync}</title> <title>${TitleSync}</title>
</head> </head>
<body> <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 data-role="content">
<div class="content-primary"> <div class="content-primary">