©2010
Generated by JsDoc Toolkit 2.4.0 on Mon Apr 04 2011 02:43:32 GMT-0000 (UTC)
HTML template: Codeview

Namespace Local


Defined in: gamelib.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
Local.get(key)
Retrieve an object from local storage.
<static>  
Local.new(prefix)
Access an instance of Local with a specified prefix.
<static>  
Local.set(key, value)
Store an object in local storage.
Namespace Detail
Local
Method Detail
<static> {Object} Local.get(key)
Retrieve an object from local storage.
Parameters:
{String} key
Returns:
The object that was stored or undefined if no object was stored.
<static> {Local} Local.new(prefix)
Access an instance of Local with a specified prefix.
Parameters:
{String} prefix
Returns:
An interface to local storage with the given prefix applied.
<static> {Object} Local.set(key, value)
Store an object in local storage.
Parameters:
{String} key
{Object} value
Returns:
value