1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
This commit is contained in:
Luke Pulverenti 2017-01-27 18:07:14 -05:00
parent 82bcca376f
commit 8a6884abef
494 changed files with 256 additions and 120180 deletions

View file

@ -1,22 +1 @@
define([], function () {
'use strict';
function MyStore(defaultObject) {
this.localData = {};
}
MyStore.prototype.setItem = function (name, value) {
this.localData[name] = value;
};
MyStore.prototype.getItem = function (name) {
return this.localData[name];
};
MyStore.prototype.removeItem = function (name) {
this.localData[name] = null;
};
return new MyStore();
});
define([],function(){"use strict";function MyStore(defaultObject){this.localData={}}return MyStore.prototype.setItem=function(name,value){this.localData[name]=value},MyStore.prototype.getItem=function(name){return this.localData[name]},MyStore.prototype.removeItem=function(name){this.localData[name]=null},new MyStore});