mbostock/d3 — pull request #660 by shawnbot (2012-05-30 00:56:55+00:00)
Title: Don't use document.createElementNS() unless there's a namespace URI

I know that pre-SVG browser support isn't high on your priority list, but having to shim `document.createElementNS()` seems like overkill for getting plain ol' HTML DOM manipulation working in browsers that will never support a namespace other than HTML. So here's a commit that only uses `createElementNS()` if there's a namespace URI, otherwise `createElement()`.