component/domify — pull request #10 by timoxley (2012-10-14 09:39:25+00:00)
Title: Remove dummy parent div from generated elements.

Currently, generated nodes have a parent div element.

```js
var el = domify('

')
console.log(el.parentNode) // =>

```

This isn't an issue once the child is in the dom, as the child gets a new parent, but if you're manipulating the child before injecting into the dom, the unsolicited parent can lead to issues, and shouldn't be there as far as I can tell.

This patch removes the parent from the child before returning it.