docs: function relative2absolute( id, baseId ) {
          if ( id.indexOf( '.' ) === 0 ) {
              var basePath = baseId.split( '/' );
              var namePath = id.split( '/' );
              var baseLen = basePath.length - 1;
              var nameLen = namePath.length;
              var cutBaseTerms = 0;
              var cutNameTerms = 0;
  
              pathLoop: for ( var i = 0; i < nameLen; i++ ) {
                  var term = namePath[ i ];
                  switch ( term ) {
                      case '..':
                          if ( cutBaseTerms < baseLen ) {
                              cutBaseTerms++;
                              cutNameTerms++;
                          }
                          else {
                              break pathLoop;
                          }
                          break;
                      case '.':
                          cutNameTerms++;
                          break;
                      default:
                          break pathLoop;
                  }
              }
  
              basePath.length = baseLen - cutBaseTerms;
              namePath = namePath.slice( cutNameTerms );
  
              return basePath.concat( namePath ).join( '/' );
          }
  
          return id;
      }