mbostock/d3 — pull request #335 by jasondavies (2011-10-08 13:06:20+00:00)
Title: Fix tests in Linux.

The directory listing order is different from OS X and so the tests are run in a slightly different order. Other tests were leaving data bound to the "body" element, and this data was then propagated when new elements were appended, and thus messed up the data propagation test.

You can probably leave out the `html("")` changes as they were a red herring, but I don't think they do any harm. Maybe we need a reusable "setup" function that clears the body element of any data and elements.