src/access.js
function(scope) {
    if (scope.name === '*' && this.storageType) {
      if (this.storageType === '2012.04') {
        return '';
      } else if (this.storageType.match(/remotestorage-0[01]/)) {
        return 'root';
      }
    }
    return scope.name;
  }
function(scope) {
    if (scope.name === '*' && this.storageType) {
      if (this.storageType === '2012.04') {
        return '';
      } else if (this.storageType.match(/remotestorage-0[01]/)) {
        return 'root';
      }
    }
    return scope.name;
  }
function ( scope ) { if ( scope . name === '*' && this . storageType ) { if ( this . storageType === '2012.04' ) { return '' ; } else if ( this . storageType . match ( / remotestorage-0[01] / ) ) { return 'root' ; } } return scope . name ; }
TODO: document

@param {string} scope
@returns {string}

@private
TODO : document