add unnoticed.

This commit is contained in:
Rintim 2023-10-04 21:09:48 +08:00
parent 2dcc9f43e1
commit 20bbcc2b20
No known key found for this signature in database
GPG Key ID: BE9E1EA615BACFCF
1 changed files with 2 additions and 2 deletions

View File

@ -25716,8 +25716,8 @@
if (!Array.isArray(storage)) return false;
return values.every(item => storage.contains(item));
},
initStorage:function(name,value){
return this.hasStorage(name)?this.getStorage(name):this.setStorage(name,value);
initStorage:function(name,value,mark){
return this.hasStorage(name)?this.getStorage(name):this.setStorage(name,value,mark);
},
updateStorage:function(name,operation,mark){
return this.setStorage(name,operation(this.getStorage(name)),mark);