documon
Version:
A documentation system for mortals. Use with any language.
17 lines • 640 B
JavaScript
[
{
"start": 10,
"end": 15,
"data": "Set/Get convienence methods for localStorage.\n\n@class Storage\n@namespace gieson"
},
{
"start": 18,
"end": 25,
"data": "Stores data. Can store string, number, boolean and objects.\n\n@method setStore\n\n@param {string}\tname \t- The name of the \"thing\" to store. (We use this to get it out later)\n@param {any}\t\tval \t- The actual thing to store."
},
{
"start": 37,
"end": 43,
"data": "Retrieves an item from browser's local storage.\n\n@method getStore\n@param {string} name - The name of the \"thing\" you want to get.\n@return {any} - The stored data"
}
]