src/client/vogue-client.js
function isLocalStylesheet(link) {
        var href, i, isExternal = true;
        if (link.getAttribute("rel") !== "stylesheet") {
          return false;
        }
        href = link.href;

        for (i = 0; i < script.bases.length; i += 1) {
          if (href.indexOf(script.bases[i]) > -1) {
            isExternal = false;
            break;
          }
        }

        return !(isExternal && href.match(/^https?:/));
      }
function isLocalStylesheet(link) {
        var href, i, isExternal = true;
        if (link.getAttribute("rel") !== "stylesheet") {
          return false;
        }
        href = link.href;

        for (i = 0; i < script.bases.length; i += 1) {
          if (href.indexOf(script.bases[i]) > -1) {
            isExternal = false;
            break;
          }
        }

        return !(isExternal && href.match(/^https?:/));
      }
function isLocalStylesheet ( link ) { var href , i , isExternal = true ; if ( link . getAttribute ( "rel" ) !== "stylesheet" ) { return false ; } href = link . href ; for ( i = 0 ; i < script . bases . length ; i += 1 ) { if ( href . indexOf ( script . bases [ i ] ) > - 1 ) { isExternal = false ; break ; } } return ! ( isExternal && href . match ( / ^https?: / ) ) ; }
Checks if the stylesheet is local.

@param {Object} link The link to check for.
@returns {Boolean}
Checks if the stylesheet is local .