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