mirror of
https://github.com/Tygs/0bin.git
synced 2023-08-10 21:13:00 +03:00
Make local storage format version decouple from 0bin version
This commit is contained in:
parent
6860778f47
commit
470194806e
@ -162,8 +162,8 @@ window.zerobin = {
|
||||
/** Return a reverse sorted list of all the keys in local storage that
|
||||
are prefixed with with the passed version (default being this lib
|
||||
version) */
|
||||
getLocalStorageKeys: function(version){
|
||||
version = 'zerobinV' + (version || zerobin.version);
|
||||
getLocalStorageKeys: function(){
|
||||
version = 'zerobinV0.1';
|
||||
var keys = [];
|
||||
for (var key in localStorage){
|
||||
if (key.indexOf(version) !== -1){
|
||||
|
Loading…
Reference in New Issue
Block a user