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,4 +1,4 @@
(function (window) {
(function (globalScope, localStorage, sessionStorage) {
function myStore(defaultObject) {
@ -44,7 +44,7 @@
};
}
window.store = new myStore(window.localStorage);
window.sessionStore = new myStore(window.sessionStorage);
globalScope.store = new myStore(localStorage);
globalScope.sessionStore = new myStore(sessionStorage);
})(window);
})(window, window.localStorage, window.sessionStorage);