chore(deps): update dependency eslint-config-airbnb-base to v13 (#6599)

* chore(deps): update dependency eslint-config-airbnb-base to v13

* chore: #6599, linting 😬
This commit is contained in:
renovate[bot]
2018-11-07 15:53:14 -05:00
committed by Julian Lam
parent eb0a322d7f
commit 64b9dabff8
109 changed files with 287 additions and 309 deletions

View File

@@ -625,10 +625,10 @@
var rect = el.getBoundingClientRect();
return (
rect.top >= 0 &&
rect.left >= 0 &&
rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && /* or $(window).height() */
rect.right <= (window.innerWidth || document.documentElement.clientWidth) /* or $(window).width() */
rect.top >= 0
&& rect.left >= 0
&& rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) /* or $(window).height() */
&& rect.right <= (window.innerWidth || document.documentElement.clientWidth) /* or $(window).width() */
);
},
@@ -731,10 +731,10 @@
},
isInternalURI: function (targetLocation, referenceLocation, relative_path) {
return targetLocation.host === '' || // Relative paths are always internal links
(
targetLocation.host === referenceLocation.host && targetLocation.protocol === referenceLocation.protocol && // Otherwise need to check if protocol and host match
(relative_path.length > 0 ? targetLocation.pathname.indexOf(relative_path) === 0 : true) // Subfolder installs need this additional check
return targetLocation.host === '' // Relative paths are always internal links
|| (
targetLocation.host === referenceLocation.host && targetLocation.protocol === referenceLocation.protocol // Otherwise need to check if protocol and host match
&& (relative_path.length > 0 ? targetLocation.pathname.indexOf(relative_path) === 0 : true) // Subfolder installs need this additional check
);
},