Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert app.state to a model #58

Open
tracend opened this issue Jul 26, 2013 · 0 comments
Open

Convert app.state to a model #58

tracend opened this issue Jul 26, 2013 · 0 comments
Labels

Comments

@tracend
Copy link
Member

tracend commented Jul 26, 2013

In the likes of

{ 
    state: new Backbone.Model({
        key: "value"
    })
}

which can be later used with get/set

app.state.get("device");
app.state.set({ scroll: false });

This is a breaking feature so actual implementation will be introduced after v1.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant