mbostock/d3 — pull request #1105 by mbostock (2013-03-02 18:34:29+00:00)
Title: Allow before function for selection.insert.

Similar to selection.select(function), the before argument to selection.insert
can now be specified as a function, so that the caller can specify the before
node dynamically. Supersedes #1071.