5
5
else if ( typeof define === 'function' && define . amd )
6
6
define ( [ "react" , "react-dom" , "sortablejs" ] , factory ) ;
7
7
else if ( typeof exports === 'object' )
8
- exports [ "SortableMixin " ] = factory ( require ( "react" ) , require ( "react-dom" ) , require ( "sortablejs" ) ) ;
8
+ exports [ "Sortable " ] = factory ( require ( "react" ) , require ( "react-dom" ) , require ( "sortablejs" ) ) ;
9
9
else
10
- root [ "SortableMixin " ] = factory ( root [ "React" ] , root [ "ReactDOM" ] , root [ "Sortable" ] ) ;
10
+ root [ "Sortable " ] = factory ( root [ "React" ] , root [ "ReactDOM" ] , root [ "Sortable" ] ) ;
11
11
} ) ( this , function ( __WEBPACK_EXTERNAL_MODULE_1__ , __WEBPACK_EXTERNAL_MODULE_2__ , __WEBPACK_EXTERNAL_MODULE_3__ ) {
12
12
return /******/ ( function ( modules ) { // webpackBootstrap
13
13
/******/ // The module cache
@@ -57,11 +57,6 @@ return /******/ (function(modules) { // webpackBootstrap
57
57
58
58
'use strict' ;
59
59
60
- Object . defineProperty ( exports , "__esModule" , {
61
- value : true
62
- } ) ;
63
- exports . default = undefined ;
64
-
65
60
var _typeof = typeof Symbol === "function" && typeof Symbol . iterator === "symbol" ? function ( obj ) { return typeof obj ; } : function ( obj ) { return obj && typeof Symbol === "function" && obj . constructor === Symbol ? "symbol" : typeof obj ; } ;
66
61
67
62
var _createClass = function ( ) { function defineProperties ( target , props ) { for ( var i = 0 ; i < props . length ; i ++ ) { var descriptor = props [ i ] ; descriptor . enumerable = descriptor . enumerable || false ; descriptor . configurable = true ; if ( "value" in descriptor ) descriptor . writable = true ; Object . defineProperty ( target , descriptor . key , descriptor ) ; } } return function ( Constructor , protoProps , staticProps ) { if ( protoProps ) defineProperties ( Constructor . prototype , protoProps ) ; if ( staticProps ) defineProperties ( Constructor , staticProps ) ; return Constructor ; } ; } ( ) ;
@@ -113,24 +108,24 @@ return /******/ (function(modules) { // webpackBootstrap
113
108
return target ;
114
109
} ;
115
110
116
- var _default = ( _temp2 = _class = function ( _React$Component ) {
117
- _inherits ( _default , _React$Component ) ;
111
+ module . exports = ( _temp2 = _class = function ( _React$Component ) {
112
+ _inherits ( _class , _React$Component ) ;
118
113
119
- function _default ( ) {
114
+ function _class ( ) {
120
115
var _Object$getPrototypeO ;
121
116
122
117
var _temp , _this , _ret ;
123
118
124
- _classCallCheck ( this , _default ) ;
119
+ _classCallCheck ( this , _class ) ;
125
120
126
121
for ( var _len2 = arguments . length , args = Array ( _len2 ) , _key2 = 0 ; _key2 < _len2 ; _key2 ++ ) {
127
122
args [ _key2 ] = arguments [ _key2 ] ;
128
123
}
129
124
130
- return _ret = ( _temp = ( _this = _possibleConstructorReturn ( this , ( _Object$getPrototypeO = Object . getPrototypeOf ( _default ) ) . call . apply ( _Object$getPrototypeO , [ this ] . concat ( args ) ) ) , _this ) , _this . sortable = null , _temp ) , _possibleConstructorReturn ( _this , _ret ) ;
125
+ return _ret = ( _temp = ( _this = _possibleConstructorReturn ( this , ( _Object$getPrototypeO = Object . getPrototypeOf ( _class ) ) . call . apply ( _Object$getPrototypeO , [ this ] . concat ( args ) ) ) , _this ) , _this . sortable = null , _temp ) , _possibleConstructorReturn ( _this , _ret ) ;
131
126
}
132
127
133
- _createClass ( _default , [ {
128
+ _createClass ( _class , [ {
134
129
key : 'componentDidMount' ,
135
130
value : function componentDidMount ( ) {
136
131
var _this2 = this ;
@@ -185,7 +180,7 @@ return /******/ (function(modules) { // webpackBootstrap
185
180
}
186
181
} ] ) ;
187
182
188
- return _default ;
183
+ return _class ;
189
184
} ( _react2 . default . Component ) , _class . propTypes = {
190
185
options : _react2 . default . PropTypes . object ,
191
186
onChange : _react2 . default . PropTypes . func ,
@@ -195,8 +190,6 @@ return /******/ (function(modules) { // webpackBootstrap
195
190
tag : 'div'
196
191
} , _temp2 ) ;
197
192
198
- exports . default = _default ;
199
-
200
193
/***/ } ,
201
194
/* 1 */
202
195
/***/ function ( module , exports ) {
0 commit comments