Created
June 28, 2012 16:11
-
-
Save stupergenius/3012221 to your computer and use it in GitHub Desktop.
Sencha Touch 2 manually load and parse local storage items
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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