lib/utils/location.js
function isExternal(href) {
    try {
        return Boolean(url.parse(href).protocol) && !isDataURI(href);
    } catch(err) {
        return false;
    }
}
function isExternal(href) {
    try {
        return Boolean(url.parse(href).protocol) && !isDataURI(href);
    } catch(err) {
        return false;
    }
}
function isExternal ( href ) { try { return Boolean ( url . parse ( href ) . protocol ) && ! isDataURI ( href ) ; } catch ( err ) { return false ; } }
Is the url an external url
Is the url an external url