Creates a new fluxapp context, initiated with all registered stores, actions. It binds the passed context methods onto the context and makes them available to stores, actions and components. If a state is supplied the stores states will be rehydrated to match the state provided.
/*
* @param {Object} [contextMethods] Custom context methods to be bound
* @param {Object} [state] Application state to be re-initiated
*/
var context = fluxapp.createContext();
var context = fluxapp.createContext({
getUsers: function getUser() {}
});
var context = fluxapp.createContext(null, stateObject);
On to createWrapper(name)