remoteStorage

What are remotestorage.js /public/ requests?


#1

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();

#2

Can we have a “Tips & Tricks” tag? So we can tag posts appropriately and have a running list to build up.


#3

Oh, I guess we can use ‘getting started’, could someone add this? I don’t have permissions


#4

as the OP i could move it from ‘core’ to ‘getting started’, good call, thx.