GitXplorerGitXplorer
m

spine-indexeddb

public
4 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
ce72094290ce88b1cc9b77865738a9c67608e2a9

Rename indexedDb.js to indexed-db.js

mmarcioj committed 10 years ago
Unverified
5e7ef4b27082bd05723af8cdc72894aabd9c7b1d

Update README.md

mmarcioj committed 10 years ago
Unverified
1403180b5672c0864cdf03597308dd122662645d

Update and rename README to README.md

mmarcioj committed 10 years ago
Unverified
527e08666c76120f67fe27e84a939a9c4e7485a0

Update README

mmarcioj committed 13 years ago
Unverified
eff9d437d8ef9c5df1b74b6fc26d071cfc92abfe

Update README

mmarcioj committed 13 years ago
Unverified
edf1df2b3396684b846a148e6fa21a3d1d39ad54

Add indexeddb js

mmarcioj committed 13 years ago

README

The README file for this repository.

spine-indexed-db

Spine indexeddb is a simple api to provide persistence using the indexeddb. For usage just make any model extend the Spine.Model.IndexedDb module. As followed:

User = Spine.Model.sub();
User.configure('User','name','age','email');
User.extend(Spine.Model.IndexedDb);

By default, it will create a connection called default and an objectStore with the same name like the model name, in the previous example will be called User. To change the default just configure the User.dbMetadata object.