mbostock/d3 — pull request #1049 by jasondavies (2013-02-01 16:59:39+00:00)
Title: Fix a couple of edge cases.

I think I prefer your approach as it seems easier to understand. These were the only cases that I managed to break it on. :)