src/sync-client.js
function(options) {
      self.consoleLog('sync - init called');

      self.config = JSON.parse(JSON.stringify(self.defaults));
      for (var i in options) {
        self.config[i] = options[i];
      }

      //prevent multiple monitors from created if init is called multiple times
      if(!self.init_is_called){
        self.init_is_called = true;
        self.datasetMonitor();
      }
      defaultCloudHandler.init(self.config.cloudUrl, self.config.cloudPath);
    }
function(options) {
      self.consoleLog('sync - init called');

      self.config = JSON.parse(JSON.stringify(self.defaults));
      for (var i in options) {
        self.config[i] = options[i];
      }

      //prevent multiple monitors from created if init is called multiple times
      if(!self.init_is_called){
        self.init_is_called = true;
        self.datasetMonitor();
      }
      defaultCloudHandler.init(self.config.cloudUrl, self.config.cloudPath);
    }
function ( options ) { self . consoleLog ( 'sync - init called' ) ; self . config = JSON . parse ( JSON . stringify ( self . defaults ) ) ; for ( var i in options ) { self . config [ i ] = options [ i ] ; } //prevent multiple monitors from created if init is called multiple times if ( ! self . init_is_called ) { self . init_is_called = true ; self . datasetMonitor ( ) ; } defaultCloudHandler . init ( self . config . cloudUrl , self . config . cloudPath ) ; }
PUBLIC FUNCTION IMPLEMENTATIONS
PUBLIC FUNCTION IMPLEMENTATIONS