shawnbot/d3 — pull request #1 by shawnbot (2012-05-30 00:30:48+00:00)
Title: Use document.createElement() in selection.append() and selection.insert(), if possible

I know that pre-SVG browser support isn't 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()`.