Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

localForage support #149

Open
siddo420 opened this issue Aug 29, 2015 · 1 comment
Open

localForage support #149

siddo420 opened this issue Aug 29, 2015 · 1 comment

Comments

@siddo420
Copy link

Can I use localForage instead of localstorage?

What part of code needs to be changed to support localForage?

@nilbus
Copy link
Owner

nilbus commented Aug 29, 2015

Your goal is to use IndexedDB or WebSQL, right? Check out the async branch (and #73), which does that already. It uses sticky.js instead of localForage for the adapter, but if that matters to you, it would be trivial to write one in backbone.dualstorage.adapters.coffee.

The async branch has some failing tests related to how promises act in some situations, but it should otherwise work fine. If you think you'd like to address those issues before I get to it, have at it.

@nilbus nilbus changed the title localforage localForage support Aug 29, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants