1
0

first commit

This commit is contained in:
2021-01-16 22:15:10 +08:00
commit f539b7e11f
30 changed files with 2381 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
function ccn_localstorageAssist_Get(index, defaultValue) {
var cache = localStorage.getItem(index);
if (cache == null) {
ccn_localstorageAssist_Set(index, defaultValue);
return defaultValue;
} else return cache;
}
function ccn_localstorageAssist_Set(index, value) {
localStorage.setItem(index, value);
}