react-grid-layout
Advanced tools
Comparing version 0.13.4 to 0.13.5
@@ -26,3 +26,3 @@ 'use strict'; | ||
*/ | ||
exports.default = function (ComposedComponent) { | ||
var WidthProvider = function WidthProvider(ComposedComponent) { | ||
var _class, _temp2; | ||
@@ -44,6 +44,6 @@ | ||
width: 1280 | ||
}, _this.mounted = false, _this.onWindowResize = function (_event, cb) { | ||
}, _this.mounted = false, _this.onWindowResize = function (_event) { | ||
if (!_this.mounted) return; | ||
var node = _reactDom2.default.findDOMNode(_this); | ||
_this.setState({ width: node.offsetWidth }, cb); | ||
_this.setState({ width: node.offsetWidth }); | ||
}, _temp), _possibleConstructorReturn(_this, _ret); | ||
@@ -83,2 +83,4 @@ } | ||
}, _temp2; | ||
}; | ||
}; | ||
exports.default = WidthProvider; |
# Changelog | ||
0.13.5 (Sep 9, 2016) | ||
----- | ||
#### Fixes: | ||
- Fixed a few Flow typing errors in `WidthProvider`. | ||
0.13.4 (Sep 9, 2016) | ||
@@ -4,0 +11,0 @@ ----- |
{ | ||
"name": "react-grid-layout", | ||
"version": "0.13.4", | ||
"version": "0.13.5", | ||
"description": "A draggable and resizable grid layout with responsive breakpoints, for React.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
161588
1729