lib/penrose.js
function(uri) {
    const scheme = this.getScheme(uri);

    if (PUBLIC === scheme || TEMPORARY === scheme) {
      return '/' + this.resolvePath(uri);
    }

    return uri;
  }
function(uri) {
    const scheme = this.getScheme(uri);

    if (PUBLIC === scheme || TEMPORARY === scheme) {
      return '/' + this.resolvePath(uri);
    }

    return uri;
  }
function ( uri ) { const scheme = this . getScheme ( uri ) ; if ( PUBLIC === scheme || TEMPORARY === scheme ) { return '/' + this . resolvePath ( uri ) ; } return uri ; }
Returns absolute URL.

@param   {string} uri
@returns {string}
Returns absolute URL .