cferdinandi/buoy — pull request #7 by mcschneider (2014-03-18 12:28:12+00:00)
Title: adds function getAncestor

This recursive function travels up the DOM to find the next ancestor of the provided element with the provided class.

I really like the idea of avoiding jQuery when all you need is travel through the DOM. I think one function to travel the other direction would be a nice addition.