Place for some configs

Li Europan lingues es membres del sam familie. Lor separat existentie es un myth. Por scientie, musica, sport etc, litot Europa usa li sam vocabular. Li lingues differe solmen in li grammatica, li pronunciation e li plu commun vocabules. Omnicos directe al desirabilite de un nov lingua franca: On refusa continuar payar custosi traductores.

Store v 2.0

A helper to store data into the LocalStorage. The data is available for later usage.

Since 2.0 a wrapper for the jStorage plugin

Methods

method namedefaultargumentsdescriptionsinceinfo
savekey, value save the value 'value' with the key 'key'. value can be a integer, array, string, object1.0
getkey gets the key from the storage1.0
removekey delete the key from the storage1.0
flush delete the whole storage1.0
index returns a list of used keys in the storage. Format {namespace}_{key}2.0

Usage

var wl_Store = new $.wl_Store([namespace]);
var toStore = {
	foo:true,
	bar:'foo',
	fooBar:'abc'
}
	wl_Store.save('myStore', toStore);

Restore

var wl_Store = new $.wl_Store([namespace]);
	toStore = wl_Store.get('myStore');

Example