get-scroll-info
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -8,8 +8,15 @@ 'use strict'; | ||
var isWebkit = 'undefined' !== typeof document.webkitIsFullScreen; | ||
var docEl = document.documentElement; | ||
if (document) { | ||
var _isWebkit = 'undefined' !== typeof document.webkitIsFullScreen; | ||
var _docEl = document.documentElement; | ||
} else { | ||
var _isWebkit2 = void 0; | ||
var _docEl2 = void 0; | ||
} | ||
var getScrollNode = function getScrollNode(el) { | ||
if (!el) { | ||
el = document.body; | ||
if (document) { | ||
el = document.body; | ||
} | ||
if ('undefined' === typeof el.scrollLeft) { | ||
@@ -16,0 +23,0 @@ el = docEl; |
{ | ||
"name": "get-scroll-info", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Get Scroll Information", | ||
@@ -5,0 +5,0 @@ "repository": "react-atomic/react-atomic-organism", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2919
64