src/client/vogue-client.js
function getBase(href) {
        var base, j;
        for (j = 0; j < script.bases.length; j += 1) {
          base = script.bases[j];
          if (href.indexOf(base) > -1) {
            return href.substr(base.length);
          }
        }
        return false;
      }
function getBase(href) {
        var base, j;
        for (j = 0; j < script.bases.length; j += 1) {
          base = script.bases[j];
          if (href.indexOf(base) > -1) {
            return href.substr(base.length);
          }
        }
        return false;
      }
function getBase ( href ) { var base , j ; for ( j = 0 ; j < script . bases . length ; j += 1 ) { base = script . bases [ j ] ; if ( href . indexOf ( base ) > - 1 ) { return href . substr ( base . length ) ; } } return false ; }
Get the link's base URL.

@param {String} href The URL to check.
@returns {String|Boolean} The base URL, or false if no matches found.
Get the link s base URL .