bower_components/require-css/normalize.js
function absoluteURI(uri, base) {
    if (uri.substr(0, 2) == './')
      uri = uri.substr(2);

    // absolute urls are left in tact
    if (uri.match(absUrlRegEx) || uri.match(protocolRegEx))
      return uri;
    
    var baseParts = base.split('/');
    var uriParts = uri.split('/');
    
    baseParts.pop();
    
    while (curPart = uriParts.shift())
      if (curPart == '..')
        baseParts.pop();
      else
        baseParts.push(curPart);
    
    return baseParts.join('/');
  }
function absoluteURI(uri, base) {
    if (uri.substr(0, 2) == './')
      uri = uri.substr(2);

    // absolute urls are left in tact
    if (uri.match(absUrlRegEx) || uri.match(protocolRegEx))
      return uri;
    
    var baseParts = base.split('/');
    var uriParts = uri.split('/');
    
    baseParts.pop();
    
    while (curPart = uriParts.shift())
      if (curPart == '..')
        baseParts.pop();
      else
        baseParts.push(curPart);
    
    return baseParts.join('/');
  }
function absoluteURI ( uri , base ) { if ( uri . substr ( 0 , 2 ) == './' ) uri = uri . substr ( 2 ) ; // absolute urls are left in tact if ( uri . match ( absUrlRegEx ) || uri . match ( protocolRegEx ) ) return uri ; var baseParts = base . split ( '/' ) ; var uriParts = uri . split ( '/' ) ; baseParts . pop ( ) ; while ( curPart = uriParts . shift ( ) ) if ( curPart == '..' ) baseParts . pop ( ) ; else baseParts . push ( curPart ) ; return baseParts . join ( '/' ) ; }
given a relative URI, calculate the absolute URI
given a relative URI calculate the absolute URI