]> source.dussan.org Git - jquery.git/log
jquery.git
13 years agoRemove the rarely-used pseudos from quickis.html
Dave Methvin [Wed, 21 Sep 2011 13:40:57 +0000 (09:40 -0400)]
Remove the rarely-used pseudos from quickis.html

The cutting will continue until file size is improved.

13 years agoAllow IE .trigger()ed events through on a check/radio.
Dave Methvin [Wed, 21 Sep 2011 03:01:07 +0000 (23:01 -0400)]
Allow IE .trigger()ed events through on a check/radio.

13 years agoDon't fire change on an already-selected radio.
Dave Methvin [Wed, 21 Sep 2011 02:18:34 +0000 (22:18 -0400)]
Don't fire change on an already-selected radio.

Thanks to Brandon Wallace (@bman654) for his code review. Also tweaks delegatetest.html output.

13 years agoFix #6593. Don't let onchange trigger twice for elements in IE.
Dave Methvin [Tue, 20 Sep 2011 02:50:29 +0000 (22:50 -0400)]
Fix #6593. Don't let onchange trigger twice for elements in IE.

This is a major revamp of the approach we use for IE change events. Instead of trying to track and simulate, we lazy-attach real change events to inputs and have only one workaround for check/radio. Somewhat more resource intensive but closes several sticky bugs. The onchange is still triggered for check/radio on blur but no double-trigger on any element occurs.

13 years agoLanding pull request 509. Add a comment explaining the use of document.getElementsByT...
Mathias Bynens [Tue, 20 Sep 2011 15:23:01 +0000 (11:23 -0400)]
Landing pull request 509. Add a comment explaining the use of document.getElementsByTagName('body')[0] instead of document.body.

More Details:
 - https://github.com/jquery/jquery/pull/509

13 years agoRemove stop argument in manipulation test, which no longer sets a timeout
timmywil [Tue, 20 Sep 2011 13:58:20 +0000 (09:58 -0400)]
Remove stop argument in manipulation test, which no longer sets a timeout

13 years agoFix #9901, verified by this unit test.
Dave Methvin [Tue, 20 Sep 2011 13:16:13 +0000 (09:16 -0400)]
Fix #9901, verified by this unit test.

13 years agoLanding pull request 491. Fix #7322. Make `.is()` with a positional selector work...
Dave Methvin [Tue, 20 Sep 2011 03:50:52 +0000 (23:50 -0400)]
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

13 years agoUpdate qunit.
Dave Methvin [Tue, 20 Sep 2011 03:38:45 +0000 (23:38 -0400)]
Update qunit.

13 years agosemicolon for jshint happiness
timmywil [Tue, 20 Sep 2011 03:25:02 +0000 (23:25 -0400)]
semicolon for jshint happiness

13 years agoMove filter tests to proper location
timmywil [Tue, 20 Sep 2011 03:14:37 +0000 (23:14 -0400)]
Move filter tests to proper location

13 years agoAdded filtering tests and updating sizzle to fix filtering with positional selectors...
timmywil [Tue, 20 Sep 2011 03:09:40 +0000 (23:09 -0400)]
Added filtering tests and updating sizzle to fix filtering with positional selectors. Fixes #10315.

13 years agoLanding pull request 512. 1.7 - removeData now takes space separated lists and arrays...
Corey Frang [Tue, 20 Sep 2011 01:16:20 +0000 (21:16 -0400)]
Landing pull request 512. 1.7 - removeData now takes space separated lists and arrays of keys - Fixes #7323.

More Details:
 - https://github.com/jquery/jquery/pull/512
 - http://bugs.jquery.com/ticket/7323

13 years agoLanding pull request 492. 1.7 Remove multiple attributes (Symmetry with removeClass...
Rick Waldron [Tue, 20 Sep 2011 01:07:07 +0000 (21:07 -0400)]
Landing pull request 492. 1.7 Remove multiple attributes (Symmetry with removeClass) Combines patches submitted by leeoniya, zertosh and my own tests. Fixes #5479.

More Details:
 - https://github.com/jquery/jquery/pull/492
 - http://bugs.jquery.com/ticket/5479

13 years agoLanding pull request 477. 1.7 jQuery.offset.supportsFixedPosition. Fixes #6809.
Rick Waldron [Tue, 20 Sep 2011 01:03:41 +0000 (21:03 -0400)]
Landing pull request 477. 1.7 jQuery.offset.supportsFixedPosition. Fixes #6809.

More Details:
 - https://github.com/jquery/jquery/pull/477
 - http://bugs.jquery.com/ticket/6809

13 years agoLanding pull request 490. 1.7 HTML5 Support for innerHTML, clone & style. Fixes ...
Rick Waldron [Mon, 19 Sep 2011 20:42:36 +0000 (16:42 -0400)]
Landing pull request 490. 1.7 HTML5 Support for innerHTML, clone & style. Fixes #6485.

More Details:
 - https://github.com/jquery/jquery/pull/490
 - http://bugs.jquery.com/ticket/6485

13 years agoLanding pull request 331. Add support for registering jQuery as an AMD module. Fixes...
jrburke [Mon, 19 Sep 2011 20:37:22 +0000 (16:37 -0400)]
Landing pull request 331. Add support for registering jQuery as an AMD module.  Fixes #7102.

More Details:
 - https://github.com/jquery/jquery/pull/331
 - http://bugs.jquery.com/ticket/7102

13 years agoLanding pull request 503. 1.7 data: set a flag in the private data cache to avoid...
Corey Frang [Mon, 19 Sep 2011 20:13:57 +0000 (16:13 -0400)]
Landing pull request 503. 1.7 data: set a flag in the private data cache to avoid having to scan attributes multiple times - Fixes #8909.

More Details:
 - https://github.com/jquery/jquery/pull/503
 - http://bugs.jquery.com/ticket/8909

13 years agoLanding pull request 500. 1.7 - "public data" stored as a key on "internal data"...
Corey Frang [Mon, 19 Sep 2011 20:13:14 +0000 (16:13 -0400)]
Landing pull request 500. 1.7 - "public data" stored as a key on "internal data" - Fixes #8921.

More Details:
 - https://github.com/jquery/jquery/pull/500
 - http://bugs.jquery.com/ticket/8921

13 years agoLanding pull request 496. 1.7 animate: allow named queues to be used by animate....
Corey Frang [Mon, 19 Sep 2011 20:08:00 +0000 (16:08 -0400)]
Landing pull request 496. 1.7 animate: allow named queues to be used by animate. Fixes #9280.

More Details:
 - https://github.com/jquery/jquery/pull/496
 - http://bugs.jquery.com/ticket/9280

13 years agoLanding pull request 510. Add notes about #9699 fix.
Rick Waldron [Mon, 19 Sep 2011 19:54:07 +0000 (15:54 -0400)]
Landing pull request 510. Add notes about #9699 fix.

More Details:
 - https://github.com/jquery/jquery/pull/510
 - http://bugs.jquery.com/ticket/9699

13 years agoUpdate sizzle
timmywil [Mon, 19 Sep 2011 19:41:35 +0000 (15:41 -0400)]
Update sizzle

13 years agoAdd sparse array performance improvement for inArray. Thanks rwaldron, rkatic, and...
timmywil [Thu, 15 Sep 2011 20:26:35 +0000 (16:26 -0400)]
Add sparse array performance improvement for inArray. Thanks rwaldron, rkatic, and jdalton

13 years agoCall .is(:visible) on the window or document does not thrown an error in IE. Fixes...
timmywil [Thu, 15 Sep 2011 13:27:36 +0000 (09:27 -0400)]
Call .is(:visible) on the window or document does not thrown an error in IE. Fixes #10267.

13 years agoCheck for property support in the boolHook before falling back to attribute node...
timmywil [Wed, 14 Sep 2011 18:25:14 +0000 (14:25 -0400)]
Check for property support in the boolHook before falling back to attribute node. Fixes #10278.

13 years agoFix inArray for positive start indices
timmywil [Tue, 13 Sep 2011 01:46:16 +0000 (21:46 -0400)]
Fix inArray for positive start indices

13 years agoRevert "Fix #6593. Don't trigger `change` event twice when simulating it on IE."...
Dave Methvin [Mon, 12 Sep 2011 01:18:32 +0000 (21:18 -0400)]
Revert "Fix #6593. Don't trigger `change` event twice when simulating it on IE." Add inline handler monitor to delegatetest.html so we can see it fail.

This reverts commit e77686495b6e34938575c9c0fe978cb4a0be6f05.

13 years agoEliminate global variable "l" (!)
Dave Methvin [Mon, 12 Sep 2011 00:44:44 +0000 (20:44 -0400)]
Eliminate global variable "l" (!)

13 years agoImprove delegation/change tests to display event firing order and duplicate events.
Dave Methvin [Mon, 12 Sep 2011 00:38:54 +0000 (20:38 -0400)]
Improve delegation/change tests to display event firing order and duplicate events.

13 years agoNarrow the invisible-element embargo to focus/blur events.
Dave Methvin [Sat, 10 Sep 2011 18:46:58 +0000 (14:46 -0400)]
Narrow the invisible-element embargo to focus/blur events.

13 years agoUpdate "Fix #6593. Don't trigger `change` event twice when simulating it on IE."
Dave Methvin [Fri, 9 Sep 2011 03:31:47 +0000 (23:31 -0400)]
Update "Fix #6593. Don't trigger `change` event twice when simulating it on IE."

This reverts commit 3d0de29d5615c1b1d74c72e6272484961a4ba243.

13 years agoFix #9593. Create a new jQuery.Event rather than a plain object when simulate()ing...
Dave Methvin [Thu, 8 Sep 2011 19:59:23 +0000 (15:59 -0400)]
Fix #9593. Create a new jQuery.Event rather than a plain object when simulate()ing events. Fix a related issue with not passing src to jQuery.Event constructor.

13 years agoFix #6593. Don't trigger `change` event twice when simulating it on IE.
Dave Methvin [Thu, 8 Sep 2011 19:03:40 +0000 (15:03 -0400)]
Fix #6593. Don't trigger `change` event twice when simulating it on IE.

13 years agoFix #6170. Don't try to run DOM methods on `window`.
Dave Methvin [Thu, 8 Sep 2011 14:18:36 +0000 (10:18 -0400)]
Fix #6170. Don't try to run DOM methods on `window`.

13 years agoRemove the relatedTarget adjustment for mouseenter/leave events, it's an ambiguous...
Dave Methvin [Thu, 8 Sep 2011 13:03:16 +0000 (09:03 -0400)]
Remove the relatedTarget adjustment for mouseenter/leave events, it's an ambiguous case anyway and it is expensive to do.

13 years agoCosmetic and style cleanups.
Dave Methvin [Thu, 8 Sep 2011 03:21:33 +0000 (23:21 -0400)]
Cosmetic and style cleanups.

13 years agoFix the special event handler for mouseover/out events.
Dave Methvin [Thu, 8 Sep 2011 02:49:32 +0000 (22:49 -0400)]
Fix the special event handler for mouseover/out events.

And use the /dist version of jquery.js, willya?

13 years agoSplit out mouse hover/enter/leave tests into a separate file and add several more...
Dave Methvin [Thu, 8 Sep 2011 01:30:35 +0000 (21:30 -0400)]
Split out mouse hover/enter/leave tests into a separate file and add several more scenarios.

13 years agoRework #1486 patch to avoid `try/catch` and look for hidden elements by `.offsetWidth...
Dave Methvin [Thu, 8 Sep 2011 01:02:13 +0000 (21:02 -0400)]
Rework #1486 patch to avoid `try/catch` and look for hidden elements by `.offsetWidth`. Unit test currently disabled due to Chrome bug.

13 years agoFix #9951. Precompute path for `.trigger()` to match up with W3C spec.
Dave Methvin [Thu, 8 Sep 2011 00:57:37 +0000 (20:57 -0400)]
Fix #9951. Precompute path for `.trigger()` to match up with W3C spec.

13 years agoFix some messy rebasing issues.
Dave Methvin [Wed, 7 Sep 2011 19:41:23 +0000 (15:41 -0400)]
Fix some messy rebasing issues.

13 years agoFixes for IE8. Avoid killer recursion in special events during removal. Use q instead...
Dave Methvin [Wed, 7 Sep 2011 03:20:48 +0000 (23:20 -0400)]
Fixes for IE8. Avoid killer recursion in special events during removal. Use q instead of quote in unit tests.

13 years agoThe unload event no longer needs the IE6SP2 fix, see http://bugs.jquery.com/ticket...
Dave Methvin [Thu, 1 Sep 2011 21:52:13 +0000 (17:52 -0400)]
The unload event no longer needs the IE6SP2 fix, see http://bugs.jquery.com/ticket/8982

13 years agoClean up the delegate matching logic.
Dave Methvin [Wed, 17 Aug 2011 14:34:13 +0000 (10:34 -0400)]
Clean up the delegate matching logic.

13 years agoMake a `blur` event bubble properly when mutated into a `focusout` event.
Dave Methvin [Wed, 17 Aug 2011 00:26:14 +0000 (20:26 -0400)]
Make a `blur` event bubble properly when mutated into a `focusout` event.

13 years agoRemove redundancy in the IE special submit handler.
Dave Methvin [Tue, 16 Aug 2011 19:40:09 +0000 (15:40 -0400)]
Remove redundancy in the IE special submit handler.

13 years agoFix simulate() arg order.
Dave Methvin [Tue, 16 Aug 2011 16:56:19 +0000 (12:56 -0400)]
Fix simulate() arg order.

13 years agoClean up the quick selector expression parsing code.
Dave Methvin [Sun, 14 Aug 2011 19:52:57 +0000 (15:52 -0400)]
Clean up the quick selector expression parsing code.

13 years agospecial.handle now must call the handleObj.handler if it wants that to happen. Also...
Dave Methvin [Sun, 14 Aug 2011 19:20:12 +0000 (15:20 -0400)]
special.handle now must call the handleObj.handler if it wants that to happen. Also re-use the simulate() function for bubbling focusin.

13 years agoRework the special events interface to add handle and trigger hooks. Modify IE change...
Dave Methvin [Sat, 13 Aug 2011 14:46:34 +0000 (10:46 -0400)]
Rework the special events interface to add handle and trigger hooks. Modify IE change/submit special events to take advantage of them. Rewrite mouseover/enter code as special events rather than inline code. In the event unit test, set a tabindex on the div element and focus it first to justify a legitimate blur event.

13 years agoRewrite IE special change/submit to make it faster/shorter. Fixes #6319.
Dave Methvin [Sat, 6 Aug 2011 14:19:49 +0000 (10:19 -0400)]
Rewrite IE special change/submit to make it faster/shorter. Fixes #6319.

13 years agoFixes #8858. Pass the .trigger(..., data) to the event.special._default method.
Dave Methvin [Wed, 3 Aug 2011 02:50:58 +0000 (22:50 -0400)]
Fixes #8858. Pass the .trigger(..., data) to the event.special._default method.

13 years agoAdd unit tests for quickIs cases and fix the regexp as a result.
Dave Methvin [Tue, 2 Aug 2011 02:30:11 +0000 (22:30 -0400)]
Add unit tests for quickIs cases and fix the regexp as a result.

13 years agoPre-compute delegated event path and handlers to comply with http://www.w3.org/TR...
Dave Methvin [Sun, 31 Jul 2011 15:53:15 +0000 (11:53 -0400)]
Pre-compute delegated event path and handlers to comply with http://www.w3.org/TR/DOM-Level-3-Events/#event-flow

13 years agoCleanup for on/off unit test.
Dave Methvin [Fri, 29 Jul 2011 14:20:09 +0000 (10:20 -0400)]
Cleanup for on/off unit test.

13 years agojQuery 1.7 event work:
Dave Methvin [Fri, 29 Jul 2011 00:43:23 +0000 (20:43 -0400)]
jQuery 1.7 event work:
Add .on() and .off() methods.
Write existing methods in terms of on/off.
Rewrite delegated handling to remove "live" event.
Fix existing code for jQuery style guide.
Fix existing bug in unit tests calling .undelegate()

13 years agoFix bad calls to .undelegate().
Dave Methvin [Thu, 28 Jul 2011 19:58:34 +0000 (15:58 -0400)]
Fix bad calls to .undelegate().
Remove two tests that assume "live" data structure.

13 years agoRemove unnecessary commented code
timmywil [Tue, 13 Sep 2011 01:07:03 +0000 (21:07 -0400)]
Remove unnecessary commented code

13 years agoAllow second argument to be passed to array.indexOf. Fixes #9453.
timmywil [Sat, 28 May 2011 16:00:28 +0000 (12:00 -0400)]
Allow second argument to be passed to array.indexOf. Fixes #9453.

13 years agoRemoving topic.js as it will be a plugin
timmywil [Tue, 13 Sep 2011 00:11:19 +0000 (20:11 -0400)]
Removing topic.js as it will be a plugin

13 years ago$.Callbacks, $.Topic and notify/progress on $.Deferred.
jaubourg [Mon, 12 Sep 2011 15:37:41 +0000 (17:37 +0200)]
$.Callbacks, $.Topic and notify/progress on $.Deferred.

13 years agoAnimation state is tracked on toggled/stopped animations using the private data cache...
timmywil [Mon, 12 Sep 2011 23:48:44 +0000 (19:48 -0400)]
Animation state is tracked on toggled/stopped animations using the private data cache. Fixes #8685. See full commit message for more. Fixes #6641.

- Example: http://jsfiddle.net/timmywil/gqZL5/24/

- http://bugs.jquery.com/ticket/8685

- Check the completed timer has not been removed already so other timers do not get accidentally removed. Fixes #6641.

- Style edits, code reductions, and optimizations for the effects module

13 years agoOverride Sizzle attribute retrieval with jQuery.attr. Fixes #5637, #7128, #9261,...
timmywil [Mon, 12 Sep 2011 23:40:14 +0000 (19:40 -0400)]
Override Sizzle attribute retrieval with jQuery.attr. Fixes #5637, #7128, #9261, #9570, #10178.

Bug fixed on the side: $(window).is('a') was throwing an exception. Fixes #10178.

13 years agoUpdating the source version to 1.7pre
timmywil [Tue, 13 Sep 2011 00:39:32 +0000 (20:39 -0400)]
Updating the source version to 1.7pre

13 years agoLanding pull request 511. Adding a little Makefile jQuery sizing utility to easily...
Corey Frang [Mon, 19 Sep 2011 19:27:43 +0000 (15:27 -0400)]
Landing pull request 511. Adding a little Makefile jQuery sizing utility to easily see differences in size between makes.  Fixes #10308.

More Details:
 - https://github.com/jquery/jquery/pull/511

13 years agoFixes typo 510/head
Rick Waldron [Mon, 19 Sep 2011 13:41:55 +0000 (09:41 -0400)]
Fixes typo

13 years agoAdd notes about #9699 fix
Rick Waldron [Mon, 19 Sep 2011 00:15:35 +0000 (20:15 -0400)]
Add notes about #9699 fix

13 years agoRemoves whitespace junk
Rick Waldron [Mon, 19 Sep 2011 00:15:18 +0000 (20:15 -0400)]
Removes whitespace junk

13 years agoUpdating the source version to 1.6.5pre
John Resig [Mon, 12 Sep 2011 22:55:06 +0000 (18:55 -0400)]
Updating the source version to 1.6.5pre

13 years agoTagging the 1.6.4 release.
John Resig [Mon, 12 Sep 2011 22:54:48 +0000 (18:54 -0400)]
Tagging the 1.6.4 release.

13 years agoUpdating the source version to 1.6.4pre
Dave Methvin [Fri, 9 Sep 2011 14:55:22 +0000 (10:55 -0400)]
Updating the source version to 1.6.4pre

13 years agoTagging the 1.6.4rc1 release. 1.6.4rc1
Dave Methvin [Fri, 9 Sep 2011 14:54:43 +0000 (10:54 -0400)]
Tagging the 1.6.4rc1 release.

13 years agoMerge pull request #489 from dmethvin/fix-10208-button-type
Dave Methvin [Wed, 7 Sep 2011 21:03:40 +0000 (14:03 -0700)]
Merge pull request #489 from dmethvin/fix-10208-button-type

Fix #10208. Check for `button` as well as `input`

13 years agoFix #10208. Check for `button` as well as `input` when performing the #7071 VML crash... 489/head
Dave Methvin [Wed, 7 Sep 2011 15:30:22 +0000 (11:30 -0400)]
Fix #10208. Check for `button` as well as `input` when performing the #7071 VML crash workaround for IE special-events submit code.

13 years agoBug in rmultidash. Fixes #10194
rwldrn [Wed, 7 Sep 2011 14:13:22 +0000 (10:13 -0400)]
Bug in rmultidash. Fixes #10194

13 years agoReverts broken support string. Fixes #10197
rwldrn [Wed, 7 Sep 2011 14:08:04 +0000 (10:08 -0400)]
Reverts broken support string. Fixes #10197

13 years agoMerge branch 'master' of github.com:dmethvin/jquery
Dave Methvin [Thu, 1 Sep 2011 16:00:56 +0000 (12:00 -0400)]
Merge branch 'master' of github.com:dmethvin/jquery

Conflicts:
version.txt

13 years agoUpdating the source version to 1.7pre.
Dave Methvin [Thu, 1 Sep 2011 15:53:16 +0000 (11:53 -0400)]
Updating the source version to 1.7pre.

13 years agoTagging the 1.6.3 release.
Dave Methvin [Thu, 1 Sep 2011 15:40:27 +0000 (11:40 -0400)]
Tagging the 1.6.3 release.

13 years agoLanding pull request 478. Apply fixes as noted by Diego Perini, David Murdoch & Mathi...
Rick Waldron [Thu, 1 Sep 2011 15:16:38 +0000 (11:16 -0400)]
Landing pull request 478. Apply fixes as noted by Diego Perini, David Murdoch & Mathias Bynens. Supplements #9634 Fixes #9634.

    More Details:
     - https://github.com/jquery/jquery/pull/478
     - http://bugs.jquery.com/ticket/9634

13 years agoUpdating the source version to 1.6.3pre
Dave Methvin [Mon, 29 Aug 2011 17:39:04 +0000 (13:39 -0400)]
Updating the source version to 1.6.3pre

13 years agoMerge branch 'master' of github.com:jquery/jquery
Dave Methvin [Mon, 29 Aug 2011 17:50:13 +0000 (13:50 -0400)]
Merge branch 'master' of github.com:jquery/jquery

13 years agoUpdating the source version to 1.6.3
Dave Methvin [Mon, 29 Aug 2011 17:39:04 +0000 (13:39 -0400)]
Updating the source version to 1.6.3

13 years agoTagging the 1.6.3rc1 release. 1.6.3rc1
Dave Methvin [Mon, 29 Aug 2011 17:38:26 +0000 (13:38 -0400)]
Tagging the 1.6.3rc1 release.

13 years agoConsiders Safari XMLHttpRequest's bug when testing for custom status text. Will have...
jaubourg [Fri, 26 Aug 2011 23:54:12 +0000 (01:54 +0200)]
Considers Safari XMLHttpRequest's bug when testing for custom status text. Will have to be revisited when $.browser.chrome is introduced.

13 years agoLanding pull request 476. Fix lint complaints about unescaped -. Follow up to #10021...
rwldrn [Fri, 26 Aug 2011 14:44:50 +0000 (10:44 -0400)]
Landing pull request 476. Fix lint complaints about unescaped -. Follow up to #10021 Fixes #10021.

More Details:
 - https://github.com/jquery/jquery/pull/476
 - http://bugs.jquery.com/ticket/10021

13 years agoRevert "Begrudgingly adds chrome detection to jQuery.browser (1.7). Fixes #9385"
timmywil [Fri, 26 Aug 2011 14:10:35 +0000 (10:10 -0400)]
Revert "Begrudgingly adds chrome detection to jQuery.browser (1.7). Fixes #9385"

This reverts commit dd93d0eb32dc638ff3319792a885acd6d3c25c30.

13 years agoRevert "Updated version numbers; Fixes #9385"
timmywil [Fri, 26 Aug 2011 14:10:21 +0000 (10:10 -0400)]
Revert "Updated version numbers; Fixes #9385"

This reverts commit 09fe3ea265d730cc5e2dd2705d5a60ffd382d166.

13 years agoRevert back to always setting the attribute to empty string before removal. Fixes...
timmywil [Thu, 25 Aug 2011 19:33:38 +0000 (15:33 -0400)]
Revert back to always setting the attribute to empty string before removal. Fixes #9699.

13 years agoMerge pull request #445 from rwldrn/9897
Dave Methvin [Thu, 25 Aug 2011 19:25:58 +0000 (12:25 -0700)]
Merge pull request #445 from rwldrn/9897

Fixes #9897. Wrap obj.constructor test in try/catch to avoid problems with host objects. Thanks to bkrausz.

13 years agoMerge pull request #464 from dmethvin/fix-10021-relative-negative-values
Dave Methvin [Thu, 25 Aug 2011 19:23:37 +0000 (12:23 -0700)]
Merge pull request #464 from dmethvin/fix-10021-relative-negative-values

Fixes #10021. Allow negative relative values for `.css()`

13 years agoMerge pull request #465 from anton-ryzhov/master
Dave Methvin [Thu, 25 Aug 2011 19:22:47 +0000 (12:22 -0700)]
Merge pull request #465 from anton-ryzhov/master

Fixes #10076. $.inArray crashes IE6 and Chrome if second argument is `null` or `undefined` (Thanks anton-ryzhov!)

13 years agoMerge pull request #468 from rwldrn/10080
Dave Methvin [Thu, 25 Aug 2011 19:18:40 +0000 (12:18 -0700)]
Merge pull request #468 from rwldrn/10080

Fixes #10080. Test cache for window inference.

13 years agoMerge pull request #473 from dmethvin/fix-10098-faux-comment
Dave Methvin [Thu, 25 Aug 2011 19:17:50 +0000 (12:17 -0700)]
Merge pull request #473 from dmethvin/fix-10098-faux-comment

Fixes #10098. Avoid a slashy-starry char sequence to prevent T-Mobile (and other brain-damaged) script compression breaking jQuery.

13 years agoMerge pull request #474 from dmethvin/fix-9521-xss-hash
Dave Methvin [Thu, 25 Aug 2011 19:16:46 +0000 (12:16 -0700)]
Merge pull request #474 from dmethvin/fix-9521-xss-hash

Fixes #9521. Prioritize #id over <tag> to avoid XSS via location.hash.

13 years agoUse jdalton's shorter sequence for the chars. 473/head
Dave Methvin [Tue, 23 Aug 2011 12:55:41 +0000 (08:55 -0400)]
Use jdalton's shorter sequence for the chars.

13 years agoUse a semantic name for the variable.
Dave Methvin [Tue, 23 Aug 2011 12:47:34 +0000 (08:47 -0400)]
Use a semantic name for the variable.

13 years agoPrioritize #id over <tag> to avoid XSS via location.hash (#9521) 474/head
Dave Methvin [Tue, 23 Aug 2011 12:25:11 +0000 (08:25 -0400)]
Prioritize #id over <tag> to avoid XSS via location.hash (#9521)

13 years agoFixes #10098. Avoid a slashy-starry char sequence in literal strings to evade faulty...
Dave Methvin [Tue, 23 Aug 2011 02:32:06 +0000 (22:32 -0400)]
Fixes #10098. Avoid a slashy-starry char sequence in literal strings to evade faulty script compressors.

13 years agoRevert "Landing pull request 461. Adds a due diligence check for pre-defined data...
timmywil [Mon, 22 Aug 2011 19:02:46 +0000 (15:02 -0400)]
Revert "Landing pull request 461. Adds a due diligence check for pre-defined data-* attrs during removal. Fixes #10026."

This reverts commit 6805fc2cd20e36af5c1b0c51f6f39f21cea4609a.

A more cache-friendly solution is in the works.