44// https://github.com/reactjs/react-art
55
66var React = require ( 'react' ) ;
7- var ReactMultiChild = require ( 'react/lib/ReactMultiChild' ) ;
7+ var ReactMultiChild = require ( 'react-dom /lib/ReactMultiChild' ) ;
88var emptyObject = require ( 'fbjs/lib/emptyObject' ) ;
99
1010var ContainerMixin = Object . assign ( { } , ReactMultiChild . Mixin , {
@@ -16,7 +16,7 @@ var ContainerMixin = Object.assign({}, ReactMultiChild.Mixin, {
1616 * @param {number } toIndex Destination index of the element.
1717 * @protected
1818 */
19- moveChild : function ( child , toIndex ) {
19+ moveChild : function ( child , afterNode , toIndex , lastIndex ) {
2020 var childNode = child . _mountImage ;
2121 var mostRecentlyPlacedChild = this . _mostRecentlyPlacedChild ;
2222 if ( mostRecentlyPlacedChild == null ) {
@@ -48,7 +48,7 @@ var ContainerMixin = Object.assign({}, ReactMultiChild.Mixin, {
4848 * @param {object } childNode ART node to insert.
4949 * @protected
5050 */
51- createChild : function ( child , childNode ) {
51+ createChild : function ( child , afterNode , childNode ) {
5252 child . _mountImage = childNode ;
5353 var mostRecentlyPlacedChild = this . _mostRecentlyPlacedChild ;
5454 if ( mostRecentlyPlacedChild == null ) {
@@ -121,7 +121,9 @@ var ContainerMixin = Object.assign({}, ReactMultiChild.Mixin, {
121121 i ++ ;
122122 }
123123 }
124- }
124+ } ,
125+ getHostNode : function ( ) { return this . node } ,
126+ getNativeNode : function ( ) { return this . node } ,
125127
126128} ) ;
127129
0 commit comments