Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (response.guid) {
- if(response.guid == 'clear'){
- guids.forEach(function(x){
- localStorage.removeItem(x);
- });
- guids = [];
- } else {
- guids.push(response.guid);
- localStorage.guids = guids.toString();
- localStorage[response.guid] = this.target.responseText;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement