ded / bonzo

library agnostic, extensible DOM utility
Other
1.32k stars 137 forks source link

add support for .find() method if setQueryEngine has been called #18

Closed micmath closed 12 years ago

micmath commented 13 years ago

If I have used setQueryEngine to add qwery to bonzo, the reference to qwery is kept in an inner variable that cannot be accessed from outside the bonzo object. I'd like to be able to chain a call to that qwery, like so:

$('ul').addClass('outer').find('li').addClass('inner');

Is this a useful feature generally? If so, I will be happy to provide a pull request.

ded commented 13 years ago

building with Ender will give you the .find()

ded commented 13 years ago

btw, if you're interested in how to get that stuff built, check the intro screencast at http://enderjs.com/learn