add unnoticed.
This commit is contained in:
parent
2dcc9f43e1
commit
20bbcc2b20
|
@ -25716,8 +25716,8 @@
|
||||||
if (!Array.isArray(storage)) return false;
|
if (!Array.isArray(storage)) return false;
|
||||||
return values.every(item => storage.contains(item));
|
return values.every(item => storage.contains(item));
|
||||||
},
|
},
|
||||||
initStorage:function(name,value){
|
initStorage:function(name,value,mark){
|
||||||
return this.hasStorage(name)?this.getStorage(name):this.setStorage(name,value);
|
return this.hasStorage(name)?this.getStorage(name):this.setStorage(name,value,mark);
|
||||||
},
|
},
|
||||||
updateStorage:function(name,operation,mark){
|
updateStorage:function(name,operation,mark){
|
||||||
return this.setStorage(name,operation(this.getStorage(name)),mark);
|
return this.setStorage(name,operation(this.getStorage(name)),mark);
|
||||||
|
|
Loading…
Reference in New Issue