1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
This commit is contained in:
Luke Pulverenti 2016-03-19 11:31:43 -04:00
commit 899ca52e93
120 changed files with 232 additions and 234 deletions

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
function populateHistory(packageInfo, page) { function populateHistory(packageInfo, page) {
@ -320,4 +320,4 @@
window.AddPluginPage = new addPluginpage(); window.AddPluginPage = new addPluginpage();
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
function loadPage(page, config, systemInfo) { function loadPage(page, config, systemInfo) {
@ -123,5 +123,4 @@
$('.advancedConfigurationForm').off('submit', onSubmit).on('submit', onSubmit); $('.advancedConfigurationForm').off('submit', onSubmit).on('submit', onSubmit);
}); });
});
})(jQuery, document, window);

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
var query = { var query = {
@ -335,4 +335,4 @@
Events.off(ApiClient, "websocketmessage", onWebSocketMessage); Events.off(ApiClient, "websocketmessage", onWebSocketMessage);
}); });
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
var query = { var query = {
@ -144,4 +144,4 @@
currentResult = null; currentResult = null;
}); });
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
function updateSeasonPatternHelp(page, value) { function updateSeasonPatternHelp(page, value) {
@ -164,5 +164,4 @@
loadPage(page, config); loadPage(page, config);
}); });
}); });
});
})(jQuery, document, window);

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
var data = {}; var data = {};
@ -280,4 +280,4 @@
updateFilterControls(page); updateFilterControls(page);
}); });
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
// The base query options // The base query options
var query = { var query = {
@ -85,4 +85,4 @@
}); });
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
function loadPage(page, config) { function loadPage(page, config) {
@ -45,4 +45,4 @@
}); });
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define([], function () {
function reloadItems(page) { function reloadItems(page) {
@ -34,4 +34,4 @@
}); });
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
function loadPage(page, config) { function loadPage(page, config) {
@ -120,4 +120,4 @@
} }
}); });
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
(function () { define(['jQuery'], function ($) {
function login(page, username, password) { function login(page, username, password) {
@ -316,4 +316,4 @@
login(page, user, password); login(page, user, password);
} }
})(); });

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
var brandingConfigKey = "branding"; var brandingConfigKey = "branding";
var currentBrandingOptions; var currentBrandingOptions;
@ -132,4 +132,4 @@
}); });
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
function loadPage(page, config) { function loadPage(page, config) {
@ -83,4 +83,4 @@
$('.dashboardHostingForm').off('submit', onSubmit).on('submit', onSubmit); $('.dashboardHostingForm').off('submit', onSubmit).on('submit', onSubmit);
}); });
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
(function () { define(['jQuery'], function ($) {
function load(page, device, capabilities) { function load(page, device, capabilities) {
@ -92,4 +92,4 @@
loadData(page); loadData(page);
}); });
})(); });

View file

@ -1,4 +1,4 @@
(function () { define(['jQuery'], function ($) {
function deleteDevice(page, id) { function deleteDevice(page, id) {
@ -106,4 +106,4 @@
}); });
})(); });

View file

@ -1,4 +1,4 @@
(function () { define(['jQuery'], function ($) {
function load(page, devices, config) { function load(page, devices, config) {
@ -147,4 +147,4 @@
}); });
})(); });

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
var currentProfile; var currentProfile;
@ -1174,4 +1174,4 @@
} }
}; };
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
function loadProfiles(page) { function loadProfiles(page) {
@ -108,4 +108,4 @@
}); });
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
function loadPage(page, config, users) { function loadPage(page, config, users) {
@ -60,4 +60,4 @@
}); });
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
function loadPage(page, config) { function loadPage(page, config) {
@ -48,4 +48,4 @@
}); });
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
define(['historyManager'], function (historyManager) { define(['historyManager', 'jQuery'], function (historyManager, $) {
var currentItemId; var currentItemId;

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
function loadPage(page, config) { function loadPage(page, config) {
@ -93,4 +93,4 @@
}); });
}); });
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
define([], function () { define(['jQuery'], function ($) {
return function (view, params, tabContent) { return function (view, params, tabContent) {

View file

@ -1,4 +1,4 @@
(function (window) { define(['jQuery'], function ($) {
function processForgotPasswordResult(page, result) { function processForgotPasswordResult(page, result) {
@ -68,4 +68,4 @@
$('.forgotPasswordForm', page).off('submit', onSubmit).on('submit', onSubmit); $('.forgotPasswordForm', page).off('submit', onSubmit).on('submit', onSubmit);
}); });
})(window); });

View file

@ -1,4 +1,4 @@
(function (window) { define(['jQuery'], function ($) {
function processForgotPasswordResult(page, result) { function processForgotPasswordResult(page, result) {
@ -58,4 +58,4 @@
$('form', page).off('submit', onSubmit).on('submit', onSubmit); $('form', page).off('submit', onSubmit).on('submit', onSubmit);
}); });
})(window); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
// The base query options // The base query options
var query = { var query = {
@ -80,4 +80,4 @@
reloadItems(this); reloadItems(this);
}); });
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
var data = {}; var data = {};
@ -182,4 +182,4 @@
}); });
}); });
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
$(document).on('pagebeforeshow', "#gamesRecommendedPage", function () { $(document).on('pagebeforeshow', "#gamesRecommendedPage", function () {
@ -68,4 +68,4 @@
}); });
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
// The base query options // The base query options
var query = { var query = {
@ -81,4 +81,4 @@
reloadItems(this); reloadItems(this);
}); });
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
// The base query options // The base query options
var query = { var query = {
@ -73,4 +73,4 @@
updateFilterControls(this); updateFilterControls(this);
}); });
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
function reload(page) { function reload(page) {
@ -61,4 +61,4 @@
} }
}; };
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
function loadUpcoming(page) { function loadUpcoming(page) {
Dashboard.showLoadingMsg(); Dashboard.showLoadingMsg();
@ -127,4 +127,4 @@
} }
}; };
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
define(['libraryBrowser'], function (libraryBrowser) { define(['libraryBrowser', 'jQuery'], function (libraryBrowser, $) {
var defaultFirstSection = 'smalllibrarytiles'; var defaultFirstSection = 'smalllibrarytiles';

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
function renderItems(page, item) { function renderItems(page, item) {
@ -337,4 +337,4 @@
renderItems: renderItems renderItems: renderItems
}; };
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
define(['layoutManager'], function (layoutManager) { define(['layoutManager', 'jQuery'], function (layoutManager, $) {
var currentItem; var currentItem;

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
function showSignIn(page) { function showSignIn(page) {
@ -120,4 +120,4 @@
$('.kidsOptionsForm').off('submit', onOptionsSubmit).on('submit', onOptionsSubmit); $('.kidsOptionsForm').off('submit', onOptionsSubmit).on('submit', onOptionsSubmit);
}); });
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
define(['playlistManager', 'appSettings', 'appStorage'], function (playlistManager, appSettings, appStorage) { define(['playlistManager', 'appSettings', 'appStorage', 'jQuery'], function (playlistManager, appSettings, appStorage, $) {
var libraryBrowser = (function (window, document, screen) { var libraryBrowser = (function (window, document, screen) {

View file

@ -1,4 +1,4 @@
define(['imageLoader', 'paper-icon-button', 'paper-button', 'emby-icons'], function (imageLoader) { define(['imageLoader', 'jQuery', 'paper-icon-button', 'paper-button', 'emby-icons'], function (imageLoader, $) {
function renderHeader() { function renderHeader() {

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
var currentConfig; var currentConfig;
@ -138,4 +138,4 @@
}); });
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
function loadPage(page, config) { function loadPage(page, config) {
@ -67,4 +67,4 @@
}); });
}); });
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
function renderPrograms(page, result) { function renderPrograms(page, result) {
@ -120,4 +120,4 @@
renderPrograms: loadPrograms renderPrograms: loadPrograms
}; };
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
var data = {}; var data = {};
@ -119,4 +119,4 @@
} }
}; };
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function () { define([], function () {
function getTimersHtml(timers) { function getTimersHtml(timers) {
@ -145,9 +145,9 @@
getTimersHtml: getTimersHtml getTimersHtml: getTimersHtml
}; };
})(); });
(function ($, document, window) { define(['jQuery'], function ($) {
var showOverlayTimeout; var showOverlayTimeout;
var hideOverlayTimeout; var hideOverlayTimeout;
@ -405,4 +405,4 @@
.on('click', childSelector, onProgramClicked); .on('click', childSelector, onProgramClicked);
}; };
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define([], function () {
window.LiveTvPage.initGuideTab = function (page, tabContent) { window.LiveTvPage.initGuideTab = function (page, tabContent) {
@ -22,4 +22,4 @@
} }
}; };
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
function init(page, type, providerId) { function init(page, type, providerId) {
@ -40,4 +40,4 @@
loadTemplate(page, type, providerId); loadTemplate(page, type, providerId);
}); });
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
var view = LibraryBrowser.getDefaultItemsView('Poster', 'Poster'); var view = LibraryBrowser.getDefaultItemsView('Poster', 'Poster');
@ -109,4 +109,4 @@
reloadItems(page); reloadItems(page);
}); });
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
// The base query options // The base query options
var query = { var query = {
@ -119,4 +119,4 @@
updateFilterControls(this); updateFilterControls(this);
}); });
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
function getRecordingGroupHtml(group) { function getRecordingGroupHtml(group) {
@ -125,4 +125,4 @@
} }
}; };
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function (window, $, document) { define(['jQuery'], function ($) {
var currentItem; var currentItem;
@ -221,4 +221,4 @@
currentItem = null; currentItem = null;
}); });
})(window, jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
var query = { var query = {
@ -120,4 +120,4 @@
} }
}; };
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
function loadPage(page, config) { function loadPage(page, config) {
@ -88,4 +88,4 @@
}); });
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
function resetTuner(page, id) { function resetTuner(page, id) {
@ -532,4 +532,4 @@
}); });
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
function enableScrollX() { function enableScrollX() {
return browserInfo.mobile && AppInfo.enableAppLayouts; return browserInfo.mobile && AppInfo.enableAppLayouts;
@ -212,4 +212,4 @@
initSuggestedTab: initSuggestedTab initSuggestedTab: initSuggestedTab
}; };
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function (window, $, document) { define(['jQuery'], function ($) {
var currentItem; var currentItem;
@ -127,4 +127,4 @@
currentItem = null; currentItem = null;
}); });
})(window, jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
function deleteTimer(page, id) { function deleteTimer(page, id) {
@ -55,4 +55,4 @@
} }
}; };
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function () { define(['jQuery'], function ($) {
$(document).on('pagebeforeshow', "#logPage", function () { $(document).on('pagebeforeshow', "#logPage", function () {
@ -62,4 +62,4 @@
}); });
}); });
})(); });

View file

@ -1,4 +1,4 @@
(function () { define(['jQuery'], function ($) {
function changeCollectionType(page, virtualFolder) { function changeCollectionType(page, virtualFolder) {
@ -474,4 +474,4 @@ var WizardLibraryPage = {
}); });
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
(function (window, $) { define(['jQuery'], function ($) {
function loadAdvancedConfig(page, config) { function loadAdvancedConfig(page, config) {
@ -218,4 +218,4 @@
}); });
} }
})(window, jQuery); });

View file

@ -1,4 +1,4 @@
(function () { define(['jQuery'], function ($) {
function load(page, config, allCultures, allCountries) { function load(page, config, allCultures, allCountries) {
if (!config || !allCultures || !allCountries) { if (!config || !allCultures || !allCountries) {
@ -103,4 +103,4 @@
}); });
}); });
})(); });

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
var currentType; var currentType;
@ -562,4 +562,4 @@
loadPage(page); loadPage(page);
}); });
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
var metadataKey = "xbmcmetadata"; var metadataKey = "xbmcmetadata";
@ -60,4 +60,4 @@
}); });
}); });
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
function loadPage(page, config, languages) { function loadPage(page, config, languages) {
@ -97,4 +97,4 @@
}); });
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
var data = {}; var data = {};
function getPageData() { function getPageData() {
@ -235,4 +235,4 @@
initPage(tabContent); initPage(tabContent);
}; };
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
var data = {}; var data = {};
function getPageData() { function getPageData() {
@ -148,4 +148,4 @@
} }
}; };
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
var data = {}; var data = {};
@ -308,4 +308,4 @@
} }
}; };
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
function getView() { function getView() {
@ -390,4 +390,4 @@
} }
} }
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
// The base query options // The base query options
var data = {}; var data = {};
@ -92,4 +92,4 @@
} }
}; };
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
var data = {}; var data = {};
@ -200,4 +200,4 @@
} }
}; };
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
var data = {}; var data = {};
function getPageData(context) { function getPageData(context) {
@ -189,4 +189,4 @@
} }
}; };
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
var data = {}; var data = {};
function getPageData(context) { function getPageData(context) {
@ -250,4 +250,4 @@
} }
}; };
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
var data = {}; var data = {};
function getPageData(context) { function getPageData(context) {
@ -189,4 +189,4 @@
} }
}; };
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
var data = {}; var data = {};
function getPageData() { function getPageData() {
@ -107,4 +107,4 @@
} }
}; };
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
var data = {}; var data = {};
function getPageData() { function getPageData() {
@ -127,4 +127,4 @@
} }
}; };
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
function itemsPerRow() { function itemsPerRow() {
@ -329,4 +329,4 @@
}); });
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
define(['userSettings', 'appStorage'], function (userSettings, appStorage) { define(['userSettings', 'appStorage', 'jQuery'], function (userSettings, appStorage, $) {
function loadForm(page, user) { function loadForm(page, user) {

View file

@ -1,4 +1,4 @@
(function ($, window, document) { define(['jQuery'], function ($) {
function renderViews(page, user, result) { function renderViews(page, user, result) {
@ -332,4 +332,4 @@
} }
}); });
})(jQuery, window, document); });

View file

@ -1,4 +1,4 @@
define(['appSettings', 'userSettings'], function (appSettings, userSettings) { define(['appSettings', 'userSettings', 'jQuery'], function (appSettings, userSettings, $) {
function populateLanguages(select, languages) { function populateLanguages(select, languages) {

View file

@ -1,4 +1,4 @@
(function ($, window, document, FileReader) { define(['jQuery'], function ($) {
var currentFile; var currentFile;
@ -224,9 +224,9 @@
}); });
})(jQuery, window, document, window.FileReader); });
(function ($, document, window) { define(['jQuery'], function ($) {
function loadUser(page) { function loadUser(page) {
@ -465,4 +465,4 @@
}); });
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
(function () { define(['jQuery'], function ($) {
function refreshSyncStatus(page) { function refreshSyncStatus(page) {
@ -78,4 +78,4 @@
} }
}); });
})(); });

View file

@ -1,4 +1,4 @@
define(['appSettings'], function (appSettings) { define(['appSettings', 'jQuery'], function (appSettings, $) {
function loadForm(page, user) { function loadForm(page, user) {

View file

@ -1,4 +1,4 @@
(function () { define(['jQuery'], function ($) {
var notificationsConfigurationKey = "notifications"; var notificationsConfigurationKey = "notifications";
@ -184,4 +184,4 @@
reload(page); reload(page);
}); });
})(jQuery, window); });

View file

@ -1,4 +1,4 @@
(function () { define(['jQuery'], function ($) {
function reload(page) { function reload(page) {
@ -71,4 +71,4 @@
}); });
}); });
})(jQuery, window); });

View file

@ -1,4 +1,4 @@
(function (window, document, $, setTimeout, clearTimeout) { define(['jQuery'], function ($) {
pageIdOn('pageinit', "nowPlayingPage", function () { pageIdOn('pageinit', "nowPlayingPage", function () {
@ -40,4 +40,4 @@
document.body.classList.remove('hiddenNowPlayingBar'); document.body.classList.remove('hiddenNowPlayingBar');
}); });
})(window, document, jQuery, setTimeout, clearTimeout); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
var view = 'Poster'; var view = 'Poster';
@ -213,4 +213,4 @@
startSlideshow: startSlideshow startSlideshow: startSlideshow
}; };
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
function loadPage(page, config) { function loadPage(page, config) {
@ -45,4 +45,4 @@
}); });
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
var data = {}; var data = {};
function getPageData() { function getPageData() {
@ -168,4 +168,4 @@
reloadItems(page); reloadItems(page);
}); });
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
// The base query options // The base query options
var query = { var query = {
@ -297,4 +297,4 @@
renderCatalog: populateList renderCatalog: populateList
}; };
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, window) { define(['jQuery'], function ($) {
function deletePlugin(page, uniqueid, name) { function deletePlugin(page, uniqueid, name) {
@ -233,4 +233,4 @@
renderPlugins: renderPlugins renderPlugins: renderPlugins
}; };
})(jQuery, window); });

View file

@ -1,4 +1,4 @@
(function (window, document) { define([], function () {
function sendPlayCommand(options, playType) { function sendPlayCommand(options, playType) {
@ -396,4 +396,4 @@
initializeApiClient(apiClient); initializeApiClient(apiClient);
}); });
})(window, document); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
var defaultSortBy = "SortName"; var defaultSortBy = "SortName";
var topItems = 5; var topItems = 5;
@ -910,9 +910,9 @@
updateFilterControls(this); updateFilterControls(this);
}); });
})(jQuery, document); });
(function (window) { define(['jQuery'], function ($) {
function renderOptions(page, selector, cssClass, items) { function renderOptions(page, selector, cssClass, items) {
@ -1145,4 +1145,4 @@
loadColumns: loadColumns, loadColumns: loadColumns,
onPageShow: onPageReportColumnsShow onPageShow: onPageReportColumnsShow
}; };
})(window); });

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
function reloadList(page) { function reloadList(page) {
@ -296,4 +296,4 @@
stopInterval(); stopInterval();
}); });
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
(function () { define([], function () {
function loadSuggestions(page) { function loadSuggestions(page) {
@ -38,4 +38,4 @@
}); });
})(); });

View file

@ -1,4 +1,4 @@
define(['libraryBrowser'], function (LibraryBrowser) { define(['libraryBrowser', 'jQuery'], function (LibraryBrowser, $) {
function getUserViews(userId) { function getUserViews(userId) {

View file

@ -1,4 +1,4 @@
(function () { define(['jQuery'], function ($) {
function connectToServer(page, server) { function connectToServer(page, server) {
@ -357,4 +357,4 @@
loadPage(page); loadPage(page);
}); });
})(); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
function revoke(page, key) { function revoke(page, key) {
@ -141,4 +141,4 @@
loadData(page); loadData(page);
}); });
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
var currentItem; var currentItem;
@ -87,4 +87,4 @@
}); });
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
(function () { define([], function () {
function onSharingSuccess(options) { function onSharingSuccess(options) {
@ -56,4 +56,4 @@
showMenu: showMenu showMenu: showMenu
}; };
})(); });

View file

@ -1,4 +1,4 @@
(function ($, document) { define(['jQuery'], function ($) {
var defaultSortBy = "Album,SortName"; var defaultSortBy = "Album,SortName";
@ -165,4 +165,4 @@
} }
}; };
})(jQuery, document); });

View file

@ -1,4 +1,4 @@
(function ($, document, window) { define(['jQuery'], function ($) {
function loadPage(page, config) { function loadPage(page, config) {
@ -65,4 +65,4 @@
}); });
}); });
})(jQuery, document, window); });

View file

@ -1,4 +1,4 @@
define(['fetchHelper'], function (fetchHelper) { define(['fetchHelper', 'jQuery'], function (fetchHelper, $) {
function load(page) { function load(page) {
Dashboard.showLoadingMsg(); Dashboard.showLoadingMsg();

Some files were not shown because too many files have changed in this diff Show more