Closed premasagar closed 11 years ago
Unless some() should accept an argument of an element or collection. That could be useful(?)
I'll work on revising these tests. I suppose it would be useful. Once again I was thinking of what jQuery could do.
Accepts a selector, function, jqObject, htmlelement
Yep. Fair enough. It should probably do that.
Yep. Fair enough. It should probably do that.
Made an issue https://github.com/dharmafly/pablo/issues/49
Closing because original issue is solved.
The first two tests for some/is are looking for a PabloCollection or element, but that is not what the method is supposed to do. Instead of those tests, there needs to be tests for some(fn) and some(fn, context)