Skip to content

Instantly share code, notes, and snippets.

@stupergenius
Created June 28, 2012 16:11
Show Gist options
  • Save stupergenius/3012221 to your computer and use it in GitHub Desktop.
Save stupergenius/3012221 to your computer and use it in GitHub Desktop.
Sencha Touch 2 manually load and parse local storage items
Ext.each(localStorage.getItem('storage-id').split(','), function(item_id) {
var item = JSON.parse(localStorage.getItem('storage-id-' + item_id));
console.log(item);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment