Skip to content

Commit

Permalink
2.3 - Added db.store() for localstorage, added delay to db().callback…
Browse files Browse the repository at this point in the history
…(), added onChange

- db.store("name") will store the DB in local storage under the provided
name - changes are auto synced - db().callback(fun,delay) is now
possible like setTImeout (which it uses). Delay is 0 by default -
settings({onChange:fun}) has been added, the whole collection is passed
into onChange within a setTImeout when a change is made to the DB
  • Loading branch information
Ian committed Sep 23, 2011
1 parent 4e47329 commit 4a3f03c
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 7 deletions.

0 comments on commit 4a3f03c

Please sign in to comment.