aboutsummaryrefslogtreecommitdiffstats
path: root/src/traversing.js
Commit message (Collapse)AuthorAgeFilesLines
* Fix some whitespace issues.Anton M2011-02-151-5/+5
|
* 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.
* Forgot to remove the child selector in the previous commit.John Resig2010-10-121-1/+0
|
* The child selector-prefix branch doesn't work with selectors that have a ↵John Resig2010-10-121-5/+0
| | | | larger depth. Removing for now - will need to re-evaluate in the future.
* Make sure that .find() with multiple direct child selectors is handled ↵John Resig2010-10-121-2/+2
| | | | correctly. Fixes #7144.
* Make sure closest works on disconnected DOM nodes. Fixes #7142.John Resig2010-10-111-1/+1
|
* Tweaking some formatting of the closest changes.jeresig2010-10-101-8/+5
|
* Switch back to using Sizzle.matchesSelector.jeresig2010-10-101-6/+7
|
* Use the new Sizzle matches functionality.jeresig2010-10-101-1/+1
|
* Fix formatting and switch to using the new matchesSelector method in Sizzle.jeresig2010-10-101-13/+14
|
* Should improve performance of closest considerably. Benchmark proof in ↵wycats2010-10-091-11/+19
| | | | speed/closest.html
* Handle child selectors in particular - away from the selector engine. Fixes ↵John Resig2010-09-281-0/+6
| | | | #7029.
* Removing unique check on closest(Array) (it wasn't appropriate there and ↵jeresig2010-09-271-1/+7
| | | | broke functionality elsewhere) - follow-up to commit 8c41325a081f4009aa94748b9b6045e50a78422e. Also added another test for closest(Array) after a discussion with @jitter in 26b0e913dda386b6b2848196689a02a2da6aa40d.
* Merge branch 'closestbug-6700' of http://github.com/ajpiano/jquery into ↵jeresig2010-09-271-5/+9
|\ | | | | | | ajpiano-closestbug-6700
| * .closest() should return a unique set of elements, not duplicates of the ↵adam j. sontag2010-06-211-5/+9
| | | | | | | | same ancestor. Fixes #6700
* | Make sure that jQuery works even when the individual modules are loaded ↵jeresig2010-09-081-0/+4
|/ | | | separately AND jQuery.noConflict(true) is used. Fixes #7011.
* Removed extra semicolon leftover from recent tweaking.jeresig2010-03-311-1/+1
|
* Made it so that you no longer need to build jQuery in order to run the test ↵jeresig2010-03-231-31/+33
| | | | suite (but you'll still need a checkout of QUnit and Sizzle, at least).
* More changes to get jQuery in line with JSLint.jeresig2010-03-011-1/+2
|
* Land some additional tweaks related to running through JSLint.jeresig2010-03-011-2/+1
|
* Make sure that live events bubble unless explicitly told not to, like a ↵jeresig2010-02-261-3/+3
| | | | normal event. Fixes #6182.
* Filtering elements only. Fixed #5920Robert Katic2010-01-261-1/+1
|
* fixed jQuery.dir regression introduced with 1.4 *untils patch that errored ↵Ben Alman2010-01-241-1/+1
| | | | when traversing XHTML text nodes with an until test
* Make sure that disconnected nodes aren't sorted/uniqued. Fixes #5791.jeresig2010-01-131-3/+9
|
* Made a number of spacing changes to bring the code more-inline with the ↵jeresig2009-12-211-18/+45
| | | | jQuery Core Style Guideline.
* Removed jQuery.fn.contains - didn't match the :contains() selector and ↵jeresig2009-12-181-4/+0
| | | | confused things. Thanks ajpiano for the tip.
* Revert the changes from 65ebf57c1e5d7fa96536b66d4fcacbafad8dc1e5, they were ↵jeresig2009-12-171-1/+1
| | | | ineffectual against IE's insanity: http://ejohn.org/files/bugs/fragment/ Used a different tactic instead (just don't return a fragment from .parent()). Fixes #5638.
* Moved some methods around inbetween core.js and traversing.js. Core methods ↵John Resig2009-12-101-29/+19
| | | | shouldn't rely upon other modules (e.g. the selector engine) wherever possible.
* Make sure that the correct args are passed in to the filter callback (and by ↵John Resig2009-12-091-1/+1
| | | | extension, the not callback). Fixes #5594.
* Landing in jQuery.contains, jQuery.fn.contains, and jQuery.fn.has support. ↵Yehuda Katz2009-12-091-0/+15
| | | | Fixes #4101.
* Switched to using slice instead of join to get the correct results.jeresig2009-12-041-4/+3
|
* Landing Ben Alman's patch to add nextUntil, prevUntil, and parentsUntil. ↵Ben Alman2009-12-041-8/+22
| | | | Also adds some tests for prevAll and nextAll, and fixes an test edge case in parents.
* Minor syntax changes to the winnow function.jeresig2009-12-031-5/+10
|
* Re-worked the closest no-duplicate-selector code again to be more efficient.jeresig2009-12-031-15/+12
|
* Prevent duplicate selectors from having to match in closest.jeresig2009-12-031-4/+11
|
* No need to do the closest match if no selectors are passed in.jeresig2009-12-031-1/+1
|
* Added in the new .closest(Array) method, will be used to improve the ↵jeresig2009-12-021-9/+31
| | | | performance of live filtering.
* added missing semicolonsKarl Swedberg2009-11-281-3/+3
|
* added curly braces around all if/else statementsKarl Swedberg2009-11-281-2/+5
|
* Made the closest method evaluate the selector with appropriate context.Robert Katić2009-11-091-1/+2
|