Respect / Template

Experimental, HTML-only templating engine
Other
38 stars 6 forks source link

Empty children just removes first child #7

Closed augustohp closed 12 years ago

augustohp commented 12 years ago

In decorators we must empty all child nodes in some cases (Traversable) and the current method to do just that only removes the first child node.

PS: This could be another decorator names EmptyChildren