File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -109,10 +109,11 @@ var ContainerMixin = merge(ReactMultiChild.Mixin, {
109109 * Creates a child component.
110110 *
111111 * @param {ReactComponent } child Component to create.
112+ * @param {object } childNode ART node to insert.
112113 * @protected
113114 */
114- createChild : function ( child ) {
115- var childNode = child . _mountImage ;
115+ createChild : function ( child , childNode ) {
116+ child . _mountImage = childNode ;
116117 var mostRecentlyPlacedChild = this . _mostRecentlyPlacedChild ;
117118 if ( mostRecentlyPlacedChild == null ) {
118119 // I'm supposed to be first.
@@ -140,6 +141,7 @@ var ContainerMixin = merge(ReactMultiChild.Mixin, {
140141 */
141142 removeChild : function ( child ) {
142143 child . _mountImage . eject ( ) ;
144+ delete child . _mountImage ;
143145 } ,
144146
145147 /**
You can’t perform that action at this time.
0 commit comments