Skip to content

Commit e97ff9a

Browse files
committed
v1.1.2
1 parent 15b1a22 commit e97ff9a

File tree

5 files changed

+17
-11
lines changed

5 files changed

+17
-11
lines changed

dist/react-sortable.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! react-sortablejs v1.1.1 | (c) 2016 Cheton Wu <[email protected]> | MIT | https://github.com/cheton/react-sortable */
1+
/*! react-sortablejs v1.1.2 | (c) 2016 Cheton Wu <[email protected]> | MIT | https://github.com/cheton/react-sortable */
22
(function webpackUniversalModuleDefinition(root, factory) {
33
if(typeof exports === 'object' && typeof module === 'object')
44
module.exports = factory(require("react"), require("react-dom"), require("sortablejs"));
@@ -170,19 +170,22 @@ return /******/ (function(modules) { // webpackBootstrap
170170
var children = _props.children;
171171
var className = _props.className;
172172
var tag = _props.tag;
173+
var style = _props.style;
173174

174-
return _react2.default.DOM[tag]({ className: className }, children);
175+
return _react2.default.DOM[tag]({ className: className, style: style }, children);
175176
}
176177
}]);
177178

178179
return _class;
179180
}(_react2.default.Component), _class.propTypes = {
180181
options: _react2.default.PropTypes.object,
181182
onChange: _react2.default.PropTypes.func,
182-
tag: _react2.default.PropTypes.string
183+
tag: _react2.default.PropTypes.string,
184+
style: _react2.default.PropTypes.object
183185
}, _class.defaultProps = {
184186
options: {},
185-
tag: 'div'
187+
tag: 'div',
188+
style: {}
186189
}, _temp2);
187190

188191
/***/ },

dist/react-sortable.min.js

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

examples/bundle.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23444,19 +23444,22 @@
2344423444
var children = _props.children;
2344523445
var className = _props.className;
2344623446
var tag = _props.tag;
23447+
var style = _props.style;
2344723448

23448-
return _react2.default.DOM[tag]({ className: className }, children);
23449+
return _react2.default.DOM[tag]({ className: className, style: style }, children);
2344923450
}
2345023451
}]);
2345123452

2345223453
return _class;
2345323454
}(_react2.default.Component), _class.propTypes = {
2345423455
options: _react2.default.PropTypes.object,
2345523456
onChange: _react2.default.PropTypes.func,
23456-
tag: _react2.default.PropTypes.string
23457+
tag: _react2.default.PropTypes.string,
23458+
style: _react2.default.PropTypes.object
2345723459
}, _class.defaultProps = {
2345823460
options: {},
23459-
tag: 'div'
23461+
tag: 'div',
23462+
style: {}
2346023463
}, _temp2);
2346123464

2346223465
/***/ },

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-sortablejs",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "A React component built on top of Sortable (https://github.com/RubaXa/Sortable).",
55
"main": "lib/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)