react-resize-detector
Advanced tools
Comparing version 4.0.1 to 4.0.2
@@ -90,6 +90,3 @@ "use strict"; | ||
if (!currentElement) return undefined; | ||
var renderType = _this.getRenderType(); | ||
return renderType === 'parent' ? currentElement.parentElement : currentElement; | ||
return currentElement.parentElement; | ||
}); | ||
@@ -96,0 +93,0 @@ |
@@ -73,6 +73,3 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } | ||
if (!currentElement) return undefined; | ||
var renderType = _this.getRenderType(); | ||
return renderType === 'parent' ? currentElement.parentElement : currentElement; | ||
return currentElement.parentElement; | ||
}); | ||
@@ -79,0 +76,0 @@ |
@@ -46,3 +46,3 @@ { | ||
"author": "Vitalii Maslianok <maslianok@gmail.com> (https://github.com/maslianok)", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"bugs": { | ||
@@ -49,0 +49,0 @@ "url": "https://github.com/maslianok/react-resize-detector/issues" |
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
205589
716