-
Notifications
You must be signed in to change notification settings - Fork 266
Open
Description
If you need to search among the keys for a given string you could clone the index-function and modify it:
searchIndex: function(string){
var index = [], i;
for(i in _storage){
if(_storage.hasOwnProperty(i) && i != "__jstorage_meta"){
if(i.indexOf(string) !== -1) index.push(i);
}
}
return index;
}It will return an array with keys containing the string.
Metadata
Metadata
Assignees
Labels
No labels