Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Offline Suport #9

Open
klederson opened this issue May 21, 2013 · 0 comments
Open

Add Offline Suport #9

klederson opened this issue May 21, 2013 · 0 comments
Assignees

Comments

@klederson
Copy link
Owner

General Lines

How should offline stuff behave?

  • $find()
  • $save()
  • $delete()
  • $get()

$save and $delete()

It should sync once internet is detected again. But what to do on errors? Should we block $save() and keep everything read only?

$find() and $get()

These are easy to implement just need to implement sessionStorage side.

When go offline?

At least in two moments:

When there's no internet connection

using navigator.onLine

When user set $offline = true;

@ghost ghost assigned klederson May 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant