adds dom/insertAt #54

merged 3 commits into from Mar 11, 2014


None yet
1 participant

This module lets you insert an element or an array of nodes into the children of a parent node at a given index.

Not sure about the name but even less sure about the signature


insertAt( parent, nodes, index );

I wonder if it should be

insertAt( parent, index, ...nodes );

@conradz Should a negative index count from the other end??

MathiasPaumgarten added a commit that referenced this pull request Mar 11, 2014

@MathiasPaumgarten MathiasPaumgarten merged commit 2512349 into master Mar 11, 2014

1 check passed

default The Travis CI build passed

@MathiasPaumgarten MathiasPaumgarten deleted the dom/insertAt branch Mar 11, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment