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

fixes #295 - Add play to vlc option

This commit is contained in:
Luke Pulverenti 2014-09-15 23:33:30 -04:00
parent c6309d5001
commit 22eb703c65
16 changed files with 545 additions and 61 deletions

View file

@ -525,44 +525,4 @@ function ticks_to_human(str) {
}
};
})(window);
(function (window) {
function myStore(defaultObject) {
var self = this;
self.localData = {};
self.setItem = function (name, value) {
if (defaultObject) {
defaultObject.setItem(name, value);
} else {
self.localData[name] = value;
}
};
self.getItem = function (name) {
if (defaultObject) {
return defaultObject.getItem(name);
}
return self.localData[name];
};
self.removeItem = function (name) {
if (defaultObject) {
defaultObject.removeItem(name);
} else {
self.localData[name] = null;
}
};
}
window.store = new myStore(window.localStorage);
window.sessionStore = new myStore(window.sessionStorage);
})(window);