Skip to content

Commit 4fc541c

Browse files
committed
v0.5.2
1 parent 0dd65b4 commit 4fc541c

File tree

5 files changed

+32
-10
lines changed

5 files changed

+32
-10
lines changed

dist/react-infinite-tree.js

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! react-infinite-tree v0.5.1 | (c) 2016 Cheton Wu <[email protected]> | MIT | https://github.com/cheton/react-infinite-tree */
1+
/*! react-infinite-tree v0.5.2 | (c) 2017 Cheton Wu <[email protected]> | MIT | https://github.com/cheton/react-infinite-tree */
22
exports["InfiniteTree"] =
33
/******/ (function(modules) { // webpackBootstrap
44
/******/ // The module cache
@@ -120,8 +120,9 @@ exports["InfiniteTree"] =
120120
var _props = this.props;
121121
var children = _props.children;
122122
var className = _props.className;
123+
var style = _props.style;
123124

124-
var options = _objectWithoutProperties(_props, ['children', 'className']);
125+
var options = _objectWithoutProperties(_props, ['children', 'className', 'style']);
125126

126127
var el = _reactDom2.default.findDOMNode(this);
127128
options.el = el;
@@ -169,7 +170,17 @@ exports["InfiniteTree"] =
169170
}, {
170171
key: 'render',
171172
value: function render() {
172-
return _react2.default.createElement('div', this.props);
173+
var _props2 = this.props;
174+
var children = _props2.children;
175+
var className = _props2.className;
176+
var style = _props2.style;
177+
178+
179+
return _react2.default.createElement(
180+
'div',
181+
{ className: className, style: style },
182+
children
183+
);
173184
}
174185
}]);
175186

dist/react-infinite-tree.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/bundle.js

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21374,8 +21374,9 @@
2137421374
var _props = this.props;
2137521375
var children = _props.children;
2137621376
var className = _props.className;
21377+
var style = _props.style;
2137721378

21378-
var options = _objectWithoutProperties(_props, ['children', 'className']);
21379+
var options = _objectWithoutProperties(_props, ['children', 'className', 'style']);
2137921380

2138021381
var el = _reactDom2.default.findDOMNode(this);
2138121382
options.el = el;
@@ -21423,7 +21424,17 @@
2142321424
}, {
2142421425
key: 'render',
2142521426
value: function render() {
21426-
return _react2.default.createElement('div', this.props);
21427+
var _props2 = this.props;
21428+
var children = _props2.children;
21429+
var className = _props2.className;
21430+
var style = _props2.style;
21431+
21432+
21433+
return _react2.default.createElement(
21434+
'div',
21435+
{ className: className, style: style },
21436+
children
21437+
);
2142721438
}
2142821439
}]);
2142921440

examples/bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-infinite-tree",
3-
"version": "0.5.1",
3+
"version": "0.5.2",
44
"description": "The infinite-tree library for React.",
55
"main": "lib/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)