aboutsummaryrefslogtreecommitdiffstats
path: root/src/traversing.js
Commit message (Collapse)AuthorAgeFilesLines
* Code styleOleg2012-12-191-1/+2
|
* Reduce traversing moduleOleg2012-12-191-71/+74
|
* Ref #13019 and gh-1062. Use parentNode check instead of isDisconnected().Dave Methvin2012-12-091-6/+0
|
* Must attach the .selector to the new jQuery object.Dave Methvin2012-11-011-1/+2
|
* Follow-up for .selector property removalOleg2012-11-011-5/+2
|
* Fix #12816. Ensure .find() result are DOM ordered.Dave Methvin2012-10-311-30/+10
|
* Fix #12009. $().find( DOMElement ) should pushStack properly. Close gh-927.Mike Sherov2012-10-301-17/+24
|
* Fix #9469. Remove semi-functional .selector property. Close gh-1006.Dave Methvin2012-10-241-5/+7
| | | | Saved 65 bytes.
* no ticket: remove and enforce unused vars in jshintMike Sherov2012-10-171-2/+2
|
* Update Sizzle: allows disconnected sorting. Change add to always sort with ↵Timmy Willison2012-10-161-3/+1
| | | | added nodes, even when disconnected.
* Return correct index for no-arg index() calls. Fixes #10977. Closes gh-971MORGAN2012-10-161-1/+1
|
* Fix a regression where has with multiple contexts was not filtering ↵Timmy Willison2012-07-271-3/+3
| | | | correctly. Test added.
* Remove unnecessary elseTimmy Willison2012-07-251-3/+1
|
* Fail silently if closest is somehow called on a document. Fixes #10726.Timmy Willison2012-07-251-4/+1
|
* Support event delegation with relative selectors. Fixes #10762. Closes gh-860.Richard Gibson2012-07-231-4/+4
|
* Follow the style guide, lose 72 bytes! Closes gh-840.Mike Sherov2012-07-091-10/+14
|
* Optimization of array operations, closes gh-844.Oleg2012-07-061-1/+1
|
* UPDATE SIZZLE: completed rewrite for better things!timmywil2012-07-021-4/+2
| | | | Remove reverse in traversing for comma selectors. Sizzle's handling of commas is now more consistent.
* Fix #11969. Never a null moment when checking siblings.Dave Methvin2012-06-261-1/+1
|
* Interim take on cross-module variables, closes gh-817.Richard Gibson2012-06-151-1/+1
|
* Strips IIFEs from modules; Always require built jQuery for tests.Rick Waldron2012-06-041-5/+0
|
* Space => tab indent correctionRick Waldron2012-06-031-2/+2
|
* Removes temp var, shaves 2 bytes from gzipped sizeRick Waldron2012-05-311-2/+3
|
* jQuery#addBack supports an optional selector that can be used to filter the ↵Ben Alman2012-05-291-2/+3
| | | | prior set before adding it back. Fixes #9800
* Rename .andSelf to .addBack, deprecate .andSelf #9800Dave Methvin2012-05-151-1/+3
|
* Fix #11738. Remove deprecated .closest(Array) => Array.Dave Methvin2012-05-111-21/+1
|
* Use a do-while statement to reduce redundant codeRick Waldron2012-05-071-4/+3
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Fixes lint issues.Rick Waldron2012-05-071-1/+4
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Additional reduction per @Raynos suggestion. Thanks!Rick Waldron2012-05-071-9/+4
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Further reduce historical cruft. Removes the untested and unnec. jQuery.nth()Rick Waldron2012-05-071-14/+13
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Remove unnecessary arguments from .nth(). Fixes #11720Sindre Sorhus2012-05-071-5/+4
| | | | Also use postfix increment to make it a little clearer.
* Fix #11543: .has should work on detached elements.Richard Gibson2012-04-051-1/+1
|
* Fix #11370: .siblings() shouldn't throw exception on a detached elementRichard Gibson2012-02-231-1/+1
|
* Use Sizzle.Expr.match.globalPOS for identifying POS selectors in traversing. ↵timmywil2011-12-121-1/+1
| | | | Fixes #10970.
* Fix #10692. JSLint is dead! Long live JSHint!Mike Sherov2011-12-081-3/+3
| | | | Still needs this sizzle PR: https://github.com/jquery/sizzle/pull/82
* Chrome 10 slice bug has been fixed; remove workaround.Berker Peksag2011-11-061-7/+2
| | | | | See: http://code.google.com/p/v8/issues/detail?id=1050 Discussion: jquery/jquery@52a0238.
* Cleanup spacing in traversing.js. Fixes #10601Rick Waldron2011-10-271-2/+2
|
* Simplify the `.closest(Array)` code since we no longer use it internally.Dave Methvin2011-09-231-24/+9
| | | | | | 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.
* Landing pull request 491. Fix #7322. Make `.is()` with a positional selector ↵Dave Methvin2011-09-191-3/+8
| | | | | | | | work like delegated event logic. Fixes #7322. More Details: - https://github.com/jquery/jquery/pull/491 - http://bugs.jquery.com/ticket/7322
* Quick improvement to the performace of .index() with no arguments - Adding a ↵gnarf2011-06-141-5/+10
| | | | unit test for .index() of a node without a parent returns -1
* Make sure that forms and selects are added to a jQuery set correctly. Fixes ↵John Resig2011-04-171-1/+1
| | | | #6912.
* Run order problem when running full test suite in Opera 11, removed failing ↵timmywil2011-04-111-2/+2
| | | | test as it passed by itself and there are others just like it
* Fix unit tests in firefox 4 and opera 11, passing null or undefined to ↵timmywil2011-04-111-1/+6
| | | | indexOf was throwing an error in those browsers
* Merge branch 'bug_7369' of https://github.com/timmywil/jquery into ↵jeresig2011-04-101-1/+1
|\ | | | | | | timmywil-bug_7369
| * Fixes #7369 - Using an attribute selector for a non-existent attribute ↵timmywil2011-03-301-1/+1
| | | | | | | | raised an exception on disconnected nodes
* | Merge branch '2773_find_closest' of https://github.com/timmywil/jquery into ↵jeresig2011-04-101-12/+28
|\ \ | | | | | | | | | | | | | | | | | | timmywil-2773_find_closest Conflicts: test/unit/traversing.js
| * | Remove test for bug #7369 to move the fix to a separate branch for a sooner pulltimmywil2011-03-301-2/+2
| | |
| * | Add node and jQuery object support to $.fn.closesttimmywil2011-03-211-8/+12
| | |
| * | Organizing varstimmywil2011-03-161-4/+3
| | |
| * | 2773: first pass adding node/jQuery object support to jQuery.fn.find; unit ↵timmywil2011-03-161-5/+18
| |/ | | | | | | tests added