This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.closest(Array)code since we no longer use it interna…
…lly. It was previously used in liveHandler for delegated events, but is now baked in to events.js. The signature is a strange one since it returns an array of matches, *not* a chainable jQuery object. I've marked it as deprecated. The code is simplified by two things: 1) We don't care about optimizing the duplicate selectors case, and 2) `.is()` now handles positional selectors by looking for set membership, which eliminates the workaround that was being applied here. See 70e2e32 for that commit.
- Loading branch information
Showing 1 changed file with 9 additions and 24 deletions.