push
This commit is contained in:
+5
-1
@@ -68,6 +68,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
function clear() {
|
||||
writeAll({});
|
||||
}
|
||||
|
||||
function list() {
|
||||
return Object.values(readAll());
|
||||
}
|
||||
@@ -83,5 +87,5 @@
|
||||
}
|
||||
|
||||
window.SR = window.SR || {};
|
||||
SR.storage = { KEY, keyFor, get, save, remove, list, latestPerShow };
|
||||
SR.storage = { KEY, keyFor, get, save, remove, clear, list, latestPerShow };
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user