yui/yui3 — pull request #1877 by customcommander (2014-06-17 23:42:28+00:00)
Title: NodeList.some() - support of css selector in lieu of a function

Hey guys,

I sometimes forgot that the following doesn't work:

```javascript
Y.all('li').filter(function () {
/* code */
});
```

Because `filter()` accepts a css selector but not a function.

Which is fine because we're dealing with nodes and it does make sense to use css selectors in that context. But then I reckon that array-like functions bound to a NodeList instance should behave consistently.

For example `some()` (on a NodeList instance) only accepts a function. Which is confusing imho.

So I made this so that it is possible to provide a css selector to `some()` instead of a function.