aboutsummaryrefslogtreecommitdiffstats
path: root/src/traversing.js
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Fix formatting.jeresig2011-04-101-1/+2
| |
* | Merge branch 'master' of git://github.com/jquery/jquery into bug_2773timmywil2011-02-261-5/+5
|\|
| * Fix some whitespace issues.Anton M2011-02-151-5/+5
| |
* | Fix bug #2773, jQuery.fn.is to accept JQuery and node objects, and a small ↵Timmy Willison2011-01-241-2/+3
|/ | | | fix for winnow getting an undefined selector
* Merge branch 'fix-7853-add-context' of https://github.com/dmethvin/jquery ↵John Resig2011-01-201-1/+1
|\ | | | | | | into dmethvin-fix-7853-add-context
| * By default, use document root rather than current selection's context when ↵Dave Methvin2010-12-281-1/+1
| | | | | | | | add()ing elements. Fixes #7853.
* | Fix tabs vs spaces in initial workaround commitadam j. sontag2011-01-171-1/+1
| |
* | shorten the SHAadam j. sontag2011-01-171-1/+1
| |
* | Add link to chrome issue ticketadam j. sontag2011-01-171-0/+1
| |
* | Add a comment to explain (and enforce the temporary-ness of) an extra line ↵adam j. sontag2011-01-171-0/+3
| | | | | | | | of code added to workaround a Chrome 10 bug
* | Merge branch 'master' of https://github.com/scottgonzalez/jqueryjeresig2011-01-141-2/+9
|\ \
| * | Avoid running jQuery.unique() for methods that are guaranteed to produce a ↵Scott González2011-01-141-2/+9
| | | | | | | | | | | | unique result set. Fixes #7964 - Some traversal methods perform an unnecessary uniqueness check.
* | | Fix a strange Chrome issuewycats2011-01-141-2/+3
|/ /
* / Clean trailing whitespace from all files.Colin Snover2010-12-301-7/+7
|/
* Make sure that when multiple variables are being declared that assignments ↵John Resig2010-11-091-3/+8
| | | | are each done on their own line.