lazd / DOMly

The fast template system that creates and clones DOM nodes
MIT License
53 stars 9 forks source link

Add option to disable cloneNode support #9

Closed lazd closed 10 years ago

lazd commented 10 years ago

When using custom elements, we may add children in the createdCallback. If this happens, the cloned version of the document fragment will contain the children already, then createdCallback is called again, and additional children are appended.