react-resizable-box
Advanced tools
Comparing version 1.4.1 to 1.4.2
@@ -96,6 +96,9 @@ 'use strict'; | ||
function Resizer() { | ||
function Resizer(props) { | ||
_classCallCheck(this, Resizer); | ||
return _possibleConstructorReturn(this, Object.getPrototypeOf(Resizer).apply(this, arguments)); | ||
var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(Resizer).call(this, props)); | ||
_this.onTouchStart = _this.onTouchStart.bind(_this); | ||
return _this; | ||
} | ||
@@ -122,3 +125,2 @@ | ||
value: function render() { | ||
var onTouchStart = this.onTouchStart.bind(this); | ||
return _react2.default.createElement('div', { | ||
@@ -128,3 +130,3 @@ className: this.props.className, | ||
onMouseDown: this.props.onResizeStart, | ||
onTouchStart: onTouchStart | ||
onTouchStart: this.onTouchStart | ||
}); | ||
@@ -131,0 +133,0 @@ } |
{ | ||
"name": "react-resizable-box", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "", | ||
@@ -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
21635
471