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

update scripts for reuse

This commit is contained in:
Luke Pulverenti 2014-10-26 20:13:47 -04:00
parent 83d7b945d7
commit 42d8ccb0aa
2 changed files with 18 additions and 10 deletions

View file

@ -2,7 +2,7 @@
window.MediaBrowser = {};
}
MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, window, FileReader) {
MediaBrowser.ApiClient = function ($, JSON, WebSocket, setTimeout, devicePixelRatio, FileReader) {
/**
* Creates a new api client instance
@ -2119,7 +2119,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi
function normalizeImageOptions(options) {
var ratio = window.devicePixelRatio || 1;
var ratio = devicePixelRatio || 1;
if (ratio) {
@ -3194,7 +3194,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi
};
}(jQuery, navigator, window.JSON, window.WebSocket, setTimeout, window, window.FileReader);
}(jQuery, window.JSON, window.WebSocket, setTimeout, window.devicePixelRatio, window.FileReader);
(function (store) {