Skip to content

Commit 34c4ff3

Browse files
author
jim
committed
Added afternode, to conform to new React API.
1 parent d98e74e commit 34c4ff3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ReactART.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,11 @@ var ContainerMixin = assign({}, ReactMultiChild.Mixin, {
9898
* Creates a child component.
9999
*
100100
* @param {ReactComponent} child Component to create.
101+
* @param {object} afterNode
101102
* @param {object} childNode ART node to insert.
102103
* @protected
103104
*/
104-
createChild: function(child, childNode) {
105+
createChild: function(child, afterNode, childNode) {
105106
child._mountImage = childNode;
106107
var mostRecentlyPlacedChild = this._mostRecentlyPlacedChild;
107108
if (mostRecentlyPlacedChild == null) {

0 commit comments

Comments
 (0)