code: function getURL( repository ) {
      var repourl;
  
      if (typeof repository === 'object') {
          repourl = repository.url;
      } else {
          repourl = repository
      };
  
      return repourl;
  }
docs: Returns a URL according to the type of a repository
  
  @private
  @commit 4fd38b97f4763d288f9f948acbf1122f33bf6951