Created
July 31, 2012 15:28
-
-
Save vseventer/3217822 to your computer and use it in GitHub Desktop.
Kinvey JavaScript Library: Using the offline store.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var entity = new Kinvey.Entity({/*attributes*/}, 'collection', { | |
store: 'offline', | |
options: { policy: 'cachefirst' }// Optional, caching policy. | |
}); | |
var collection = new Kinvey.Collection('collection', { | |
store: 'offline', | |
options: { policy: 'cachefirst' }// Optional, caching policy. | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment