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

update connect scripts

This commit is contained in:
Luke Pulverenti 2014-10-27 17:45:50 -04:00
parent b96c70cb0a
commit 8cf3aba7e0
6 changed files with 170 additions and 59 deletions

View file

@ -1,10 +1,10 @@
if (!window.MediaBrowser) {
window.MediaBrowser = {};
}
(function (globalScope, store) {
(function (store) {
if (!globalScope.MediaBrowser) {
globalScope.MediaBrowser = {};
}
MediaBrowser.generateDeviceId = function () {
globalScope.MediaBrowser.generateDeviceId = function () {
var keys = [];
@ -27,4 +27,4 @@
return sha1(keys.join('|'));
};
})(store);
})(window, store);