1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Introduced or adjusted 'define' pattern in script files for explicit declaration of jQuery dependency

This commit is contained in:
softworkz 2016-03-19 05:26:17 +01:00
parent 9a7367fbd2
commit 292a3bab23
120 changed files with 232 additions and 234 deletions

View file

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