ember-fryctoria
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "ember-fryctoria", | ||
"version": "0.1.0", | ||
"description": "Make ember data work offline.", | ||
"version": "0.1.1", | ||
"description": "Make ember data work offline with automatic sync.", | ||
"directories": { | ||
@@ -6,0 +6,0 @@ "doc": "doc", |
@@ -12,3 +12,6 @@ # Warning | ||
# Requirements | ||
ember-data v1.0.0-beta.16.x | ||
# How does it work? | ||
@@ -31,6 +34,5 @@ ember-fryctoria utilizes [ember-localforage-adapter](https://github.com/genkgo/ember-localforage-adapter/) to read and write locally. | ||
```javascript | ||
store.syncer.syncDown('user'); // remove all records in localforage and save all | ||
current user records in localforage | ||
store.syncer.syncDown('user'); // remove all records in localforage and save all current user records in localforage | ||
store.syncer.syncDown(user); // create or update user record into localforage | ||
store.syncer.syncDown([user1, user2]); // create or update user records into localforage | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18725512
37