by default, remotestorage.js syncs the entire private and public directory every 30 seconds. to stop this from happening, add an ‘init’ function to your module, which does the following:
defineModule('mythings', function(privateClient, publicClient) {
return {
exports: {
init: function() {
privateClient.release('');
publicClient.release('');
}
}
}
});
remoteStorage.claimAccess({'mythings':'rw'});
remoteStorage.mythings.init();
remoteStorage.displayWidget();