Comparing version 0.0.15 to 0.0.16
@@ -154,3 +154,3 @@ 'use strict'; | ||
// Subtract parent offsets and node margins | ||
return _extends({}, offset, { | ||
return _extends({}, _offset, { | ||
top: _offset.top - _parentOffset.top - (parseInt(getStyle(node, 'marginTop'), 10) || 0), | ||
@@ -157,0 +157,0 @@ left: _offset.left - _parentOffset.left - (parseInt(getStyle(node, 'marginLeft'), 10) || 0) |
{ | ||
"name": "dom-lib", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"description": "DOM helper library", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
31948