remotestorage/remotestorage.js — pull request #742 by michielbdejong (2014-08-12 10:46:32+00:00)
Title: Bug 725 connected back to true

this makes sure

* remote.online gets set to false and to true at the right time
* the widget state follows this
* remote.connected is not set to false unless we know we need to refresh the bearer token