Michał Gołębiowski
badcd1b6f3
Fix #10814 . Fix #14084 . Make support tests lazy and broken out to components.
2013-09-06 03:40:49 +02:00
Timmy Willison
217cbb7109
AMD-ify jQuery sourcegit s! Woo! Fixes #14113 , #14163 .
...
Conflicts:
Gruntfile.js
README.md
src/ajax.js
src/ajax/xhr.js
src/attributes.js
src/core.js
src/css.js
src/data.js
src/effects.js
src/event.js
src/manipulation.js
src/offset.js
src/selector-native.js
src/traversing.js
test/unit/core.js
test/unit/data.js
2013-08-15 15:49:49 -04:00
Richard Gibson
7c72f69ed0
Fix #13846 : .prev sort direction
...
(cherry picked from commit 9c4a428528
)
2013-05-01 11:36:48 -04:00
Richard Gibson
6a816ec95f
Fix #13819 : .parent sort direction
2013-04-24 11:38:23 -04:00
Richard Gibson
4f786ba4d2
Fix #13797 : .is with single-node context
2013-04-20 11:49:44 -04:00
Richard Gibson
85b3c82445
No ticket: Reduce .find
2013-04-20 10:02:07 -04:00
Michał Gołębiowski
e3777b6437
No ticket: Move jQuery.fn.size to deprecated. Close gh-1229.
2013-04-07 23:22:13 -04:00
Michał Gołębiowski
8f4bebea7d
No ticket: fix indentation. Close gh-1224.
2013-04-07 00:30:37 -04:00
Richard Gibson
ca045de688
No ticket: minor 1.x/2.x code standardization
2013-04-05 01:16:32 -04:00
Richard Gibson
4ef516903e
Fix #13539 : Utilize Sizzle hooks. Close gh-1215.
2013-04-04 23:04:05 -04:00
Michał Gołębiowski
674d34f021
Remove an unused support check, correct a comment. Close gh-1212.
2013-04-03 21:12:22 -04:00
Richard Gibson
5e29ff7e59
Fix #13265 #13332 : Allow .parent/.closest with text nodes. Close gh-1146.
2013-02-13 21:22:53 -05:00
Dave Methvin
1bbe2b1ded
Fix #13349 . No need to sort simple .find() cases.
2013-01-29 20:58:26 -05:00
Dave Methvin
2eda329be6
Ref #13019 and gh-1062. Use parentNode check instead of isDisconnected().
2012-12-09 14:46:06 -05:00
Dave Methvin
68f001e709
Must attach the .selector to the new jQuery object.
2012-11-01 21:40:01 -04:00
Oleg
f651bf8893
Follow-up for .selector property removal
2012-11-01 21:31:55 -04:00
Dave Methvin
5ed0450dc4
Fix #12816 . Ensure .find() result are DOM ordered.
2012-10-31 22:43:04 -04:00
Mike Sherov
e8f91514a6
Fix #12009 . $().find( DOMElement ) should pushStack properly. Close gh-927.
2012-10-30 13:32:53 -04:00
Dave Methvin
69e2f068fe
Fix #9469 . Remove semi-functional .selector property. Close gh-1006.
...
Saved 65 bytes.
2012-10-24 22:36:20 -04:00
Mike Sherov
16d996ba0c
no ticket: remove and enforce unused vars in jshint
2012-10-17 12:52:12 -04:00
Timmy Willison
420dcc5842
Update Sizzle: allows disconnected sorting. Change add to always sort with added nodes, even when disconnected.
2012-10-16 11:54:54 -04:00
MORGAN
4bb46f413a
Return correct index for no-arg index() calls. Fixes #10977 . Closes gh-971
2012-10-16 10:25:08 -04:00
Timmy Willison
e07b444dfe
Fix a regression where has with multiple contexts was not filtering correctly. Test added.
2012-07-27 18:19:18 -04:00
Timmy Willison
0f14c53d72
Remove unnecessary else
2012-07-25 16:09:30 -04:00
Timmy Willison
17a26f5bd9
Fail silently if closest is somehow called on a document. Fixes #10726 .
2012-07-25 16:05:59 -04:00
Richard Gibson
e761e0c6e0
Support event delegation with relative selectors. Fixes #10762 . Closes gh-860.
2012-07-23 12:49:45 -04:00
Mike Sherov
8f01b92b8f
Follow the style guide, lose 72 bytes! Closes gh-840.
2012-07-09 21:39:22 -04:00
Oleg
05aff40231
Optimization of array operations, closes gh-844.
2012-07-06 09:48:52 -04:00
timmywil
b418fa1f09
UPDATE SIZZLE: completed rewrite for better things!
...
Remove reverse in traversing for comma selectors. Sizzle's handling of commas is now more consistent.
2012-07-02 11:34:26 -04:00
Dave Methvin
cde4c326b8
Fix #11969 . Never a null moment when checking siblings.
2012-06-26 17:08:49 -04:00
Richard Gibson
a101e81bde
Interim take on cross-module variables, closes gh-817.
2012-06-15 21:01:44 -04:00
Rick Waldron
7c23b77af2
Strips IIFEs from modules; Always require built jQuery for tests.
2012-06-04 12:48:18 -04:00
Rick Waldron
9a3046c375
Space => tab indent correction
2012-06-03 10:42:24 -04:00
Rick Waldron
1442bf9449
Removes temp var, shaves 2 bytes from gzipped size
2012-05-31 18:15:57 -04:00
Ben Alman
02dd7c570b
jQuery#addBack supports an optional selector that can be used to filter the prior set before adding it back. Fixes #9800
2012-05-29 12:04:27 -04:00
Dave Methvin
f76518e393
Rename .andSelf to .addBack, deprecate .andSelf #9800
2012-05-15 23:14:13 -04:00
Dave Methvin
56d5c1c3a3
Fix #11738 . Remove deprecated .closest(Array) => Array.
2012-05-11 15:11:13 -04:00
Rick Waldron
38fe2deab5
Use a do-while statement to reduce redundant code
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-05-07 16:49:23 -04:00
Rick Waldron
b26c34a69f
Fixes lint issues.
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-05-07 16:45:22 -04:00
Rick Waldron
df254d47e4
Additional reduction per @Raynos suggestion. Thanks!
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-05-07 16:38:55 -04:00
Rick Waldron
2af3642cd5
Further reduce historical cruft. Removes the untested and unnec. jQuery.nth()
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-05-07 16:05:05 -04:00
Sindre Sorhus
4de7b5412e
Remove unnecessary arguments from .nth(). Fixes #11720
...
Also use postfix increment to make it a little clearer.
2012-05-07 19:59:11 +02:00
Richard Gibson
590bcab245
Fix #11543 : .has should work on detached elements.
2012-04-05 21:03:41 -04:00
Richard Gibson
a619cb3063
Fix #11370 : .siblings() shouldn't throw exception on a detached element
2012-02-23 22:40:07 -05:00
timmywil
2a63b980ed
Use Sizzle.Expr.match.globalPOS for identifying POS selectors in traversing. Fixes #10970 .
2011-12-12 11:23:47 -05:00
Mike Sherov
98386cfd77
Fix #10692 . JSLint is dead! Long live JSHint!
...
Still needs this sizzle PR: https://github.com/jquery/sizzle/pull/82
2011-12-08 21:04:57 -05:00
Berker Peksag
90c019de5e
Chrome 10 slice bug has been fixed; remove workaround.
...
See: http://code.google.com/p/v8/issues/detail?id=1050
Discussion: jquery/jquery@52a0238 .
2011-11-06 16:38:26 -05:00
Rick Waldron
27d099d471
Cleanup spacing in traversing.js. Fixes #10601
2011-10-27 15:35:09 -04:00
Dave Methvin
d920ac68fd
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 70e2e32e0e
for that commit.
2011-09-23 09:11:02 -04:00
Dave Methvin
70e2e32e0e
Landing pull request 491. Fix #7322 . Make .is()
with a positional selector work like delegated event logic. Fixes #7322 .
...
More Details:
- https://github.com/jquery/jquery/pull/491
- http://bugs.jquery.com/ticket/7322
2011-09-19 23:50:52 -04:00