The store namespace

A state and data store.

Methods

createComState(name, fn)

line 42
Description:

Create a state object in the store.

Returns
Object

The created state object.

Parameters:
Name Type Description
name String

The name of the state object to create.

fn function

The initialization function containing actions etc...

createDataState(name, fn)

line 27
Description:

Create a data object in the store.

Returns
Object

The created data object.

Parameters:
Name Type Description
name String

The name of the data object to create.

fn function

The initialization function containing actions etc...

flush()

line 15
Description:

Flush the store of all data and state.

Returns
$.store

Chainable.