Skip to content

Commit

Permalink
[base] Fix code style issue (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars authored and bjoerge committed Aug 25, 2017
1 parent d0f7f38 commit 9a2b4c6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ const ROOT_MARGIN_PX = 150
Adapted from the polyfill at https://github.com/WICG/IntersectionObserver
*/
function isIntersectionObserverSupported() {
if ('IntersectionObserver' in window &&
'IntersectionObserverEntry' in window &&
'intersectionRatio' in IntersectionObserverEntry.prototype) {
if ('IntersectionObserver' in window
&& 'IntersectionObserverEntry' in window
&& 'intersectionRatio' in IntersectionObserverEntry.prototype) {

// Minimal polyfill for Edge 15's lack of `isIntersecting`
// See: https://github.com/WICG/IntersectionObserver/issues/211
Expand Down

0 comments on commit 9a2b4c6

Please sign in to comment.