aboutsummaryrefslogtreecommitdiffstats
path: root/test/qunit
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2011-09-23 09:11:02 -0400
committerDave Methvin <dave.methvin@gmail.com>2011-09-23 09:11:02 -0400
commitd920ac68fdc7c0fc95ec2e9d9c1a4a17d024581b (patch)
treedc834714b915b28be5139cc30ed70f8c2e10e4ef /test/qunit
parent6eb75676c4d21550daa755c3dfc3539b1c530556 (diff)
downloadjquery-d920ac68fdc7c0fc95ec2e9d9c1a4a17d024581b.tar.gz
jquery-d920ac68fdc7c0fc95ec2e9d9c1a4a17d024581b.zip
Simplify the `.closest(Array)` code since we no longer use it internally.
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 https://github.com/jquery/jquery/commit/70e2e32e0eb03607ad0c8b7752dbd7747da47164 for that commit.
Diffstat (limited to 'test/qunit')
0 files changed, 0 insertions, 0 deletions