jQuery.filter inline with ES5
also works with callbacks (apart selectors, and elements).
I would propose to integrate jQuery.grep
and to make those aliases
Also consider that there is intention to add a jQuery.forEach
that would be inline to the ES5 spec, and making jQuery.filter
inline with that spec too would be a logical move anyway.
Here is a my try: http://gist.github.com/290689
If this would happen, jQuery.filter
will be moved from traversing.js
, I hope.