dominikh / go-js-dom

MIT License
252 stars 42 forks source link

AppendChild should take a Node not Element as per DOM #4

Closed taruti closed 10 years ago

taruti commented 10 years ago

As per DOM API https://developer.mozilla.org/en-US/docs/Web/API/Node

This is needed so Text nodes can be used with AppendChild.

dominikh commented 10 years ago

Merged as a2322cf.