1
- /*! react-sortablejs v1.3.1 | (c) 2017 Cheton Wu <cheton@gmail.com> | MIT | https://github.com/cheton/react-sortable */
1
+ /*! react-sortablejs v1.3.2 | (c) 2017 Cheton Wu <cheton@gmail.com> | MIT | https://github.com/cheton/react-sortable */
2
2
( function webpackUniversalModuleDefinition ( root , factory ) {
3
3
if ( typeof exports === 'object' && typeof module === 'object' )
4
4
module . exports = factory ( require ( "react" ) , require ( "react-dom" ) , require ( "sortablejs" ) ) ;
12
12
return /******/ ( function ( modules ) { // webpackBootstrap
13
13
/******/ // The module cache
14
14
/******/ var installedModules = { } ;
15
-
15
+ /******/
16
16
/******/ // The require function
17
17
/******/ function __webpack_require__ ( moduleId ) {
18
-
18
+ /******/
19
19
/******/ // Check if module is in cache
20
20
/******/ if ( installedModules [ moduleId ] )
21
21
/******/ return installedModules [ moduleId ] . exports ;
22
-
22
+ /******/
23
23
/******/ // Create a new module (and put it into the cache)
24
24
/******/ var module = installedModules [ moduleId ] = {
25
25
/******/ i : moduleId ,
26
26
/******/ l : false ,
27
27
/******/ exports : { }
28
28
/******/ } ;
29
-
29
+ /******/
30
30
/******/ // Execute the module function
31
31
/******/ modules [ moduleId ] . call ( module . exports , module , module . exports , __webpack_require__ ) ;
32
-
32
+ /******/
33
33
/******/ // Flag the module as loaded
34
34
/******/ module . l = true ;
35
-
35
+ /******/
36
36
/******/ // Return the exports of the module
37
37
/******/ return module . exports ;
38
38
/******/ }
39
-
40
-
39
+ /******/
40
+ /******/
41
41
/******/ // expose the modules object (__webpack_modules__)
42
42
/******/ __webpack_require__ . m = modules ;
43
-
43
+ /******/
44
44
/******/ // expose the module cache
45
45
/******/ __webpack_require__ . c = installedModules ;
46
-
46
+ /******/
47
47
/******/ // identity function for calling harmony imports with the correct context
48
48
/******/ __webpack_require__ . i = function ( value ) { return value ; } ;
49
-
49
+ /******/
50
50
/******/ // define getter function for harmony exports
51
51
/******/ __webpack_require__ . d = function ( exports , name , getter ) {
52
52
/******/ if ( ! __webpack_require__ . o ( exports , name ) ) {
@@ -57,7 +57,7 @@ return /******/ (function(modules) { // webpackBootstrap
57
57
/******/ } ) ;
58
58
/******/ }
59
59
/******/ } ;
60
-
60
+ /******/
61
61
/******/ // getDefaultExport function for compatibility with non-harmony modules
62
62
/******/ __webpack_require__ . n = function ( module ) {
63
63
/******/ var getter = module && module . __esModule ?
@@ -66,13 +66,13 @@ return /******/ (function(modules) { // webpackBootstrap
66
66
/******/ __webpack_require__ . d ( getter , 'a' , getter ) ;
67
67
/******/ return getter ;
68
68
/******/ } ;
69
-
69
+ /******/
70
70
/******/ // Object.prototype.hasOwnProperty.call
71
71
/******/ __webpack_require__ . o = function ( object , property ) { return Object . prototype . hasOwnProperty . call ( object , property ) ; } ;
72
-
72
+ /******/
73
73
/******/ // __webpack_public_path__
74
74
/******/ __webpack_require__ . p = "" ;
75
-
75
+ /******/
76
76
/******/ // Load entry module and return exports
77
77
/******/ return __webpack_require__ ( __webpack_require__ . s = 3 ) ;
78
78
/******/ } )
@@ -178,8 +178,8 @@ module.exports = (_temp2 = _class = function (_React$Component) {
178
178
var remote = store . activeComponent ;
179
179
var remoteItems = remote . sortable . toArray ( ) ;
180
180
181
- evt . from . insertBefore ( evt . item , store . nextSibling ) ;
182
-
181
+ var referenceNode = store . nextSibling && store . nextSibling . parentNode !== null ? store . nextSibling : null ;
182
+ evt . from . insertBefore ( evt . item , referenceNode ) ;
183
183
if ( remote !== _this2 ) {
184
184
var remoteOptions = remote . props . options || { } ;
185
185
0 commit comments