shared-stuff/shared-stuff — pull request #13 by michielbdejong (2012-05-30 12:32:37+00:00)
Title: deal with token expiry

this way, the error message will be more informative when the access token has expired, or when the user has revoked the token, or something else is leading to the token not being accepted (401 response from the remoteStorage server). maybe it should automatically move you to a "logged out" state. but maybe also that is a bit scary and unexpected for the user, so now with a gentle alert, at least the user can more easily work out what's wrong.