GitHub repository: tlindig/jquery-closest-descendant
Primary language: JavaScript
Description: Get the first element(s) that matches the selector by testing the element itself and traversing down through its descendants in the DOM tree level by level. It use a breadth first search (BFS), that mean it will going deeper in a subtree only until the first matching descendant was found in the current subtree.