madrobby/zepto — pull request #593 by sergeche (2012-09-20 14:13:30+00:00)
Title: Make `children()` method work in XML documents

The original implementation of `children()` method doesn’t work in XML documents (created in runtime or loaded by XHR), at least on my Safari 5/6 desktop: XML nodes doesn’t have `children` attribute.

This fix provides fallback on filtered `childNodes` set.