jquery.git
16 years agouse jquery for dblclick handler to access event.target
Jörn Zaefferer [Wed, 20 Jun 2007 21:13:56 +0000 (21:13 +0000)]
use jquery for dblclick handler to access event.target

16 years agoFixed an issue with JSON data in packed scripts. (Bug #1298)
John Resig [Sat, 16 Jun 2007 22:19:17 +0000 (22:19 +0000)]
Fixed an issue with JSON data in packed scripts. (Bug #1298)

16 years agoRemoved useless safari workarounds, added rerun-single-test feature: just doubleclick...
Jörn Zaefferer [Thu, 14 Jun 2007 22:12:49 +0000 (22:12 +0000)]
Removed useless safari workarounds, added rerun-single-test feature: just doubleclick on a single test to execute that one, use browser's back button get back to executing all

16 years agoModified min build to include (like pack) the license header, thanks John for the...
Jörn Zaefferer [Thu, 14 Jun 2007 22:06:00 +0000 (22:06 +0000)]
Modified min build to include (like pack) the license header, thanks John for the regex

16 years agoAdding test for #1182
Brandon Aaron [Thu, 31 May 2007 16:49:49 +0000 (16:49 +0000)]
Adding test for #1182

16 years agoFix for #1185
Brandon Aaron [Thu, 31 May 2007 04:15:41 +0000 (04:15 +0000)]
Fix for #1185

16 years agoFix for #923, #1136 and #1233
Brandon Aaron [Thu, 31 May 2007 03:51:28 +0000 (03:51 +0000)]
Fix for #923, #1136 and #1233

16 years agoUse .one() when doing a .bind() with an "unload" event type (#1242)
Brandon Aaron [Thu, 31 May 2007 00:13:54 +0000 (00:13 +0000)]
Use .one() when doing a .bind() with an "unload" event type (#1242)

16 years agoFix event.which (#1217)
Brandon Aaron [Wed, 30 May 2007 19:22:24 +0000 (19:22 +0000)]
Fix event.which (#1217)

16 years agoClean up in jQuery.event.add for assigning a handler.guid
Brandon Aaron [Wed, 23 May 2007 13:51:04 +0000 (13:51 +0000)]
Clean up in jQuery.event.add for assigning a handler.guid

16 years agoRolling back Rev 1892
Brandon Aaron [Wed, 23 May 2007 12:48:15 +0000 (12:48 +0000)]
Rolling back Rev 1892

16 years agoremove an unused variable and its assignment in the 'map' method
Ed Engelhardt [Tue, 22 May 2007 10:37:54 +0000 (10:37 +0000)]
remove an unused variable and its assignment in the 'map' method

16 years agoremove a little superfluous blank which confused my eye the second time now
Ed Engelhardt [Tue, 22 May 2007 08:43:49 +0000 (08:43 +0000)]
remove a little superfluous blank which confused my eye the second time now

16 years agoIn r1576 on 2007-03-24 the merge() method was split into merge() and
Ed Engelhardt [Tue, 22 May 2007 08:18:31 +0000 (08:18 +0000)]
In r1576 on 2007-03-24 the merge() method was split into merge() and
unique() for speed improvement reasons. Document this fact and also be
clear about the fact that merge() is a generic function while unique()
really works just with jQuery objects.

16 years agofix style, prefix and typo in a few comments
Ed Engelhardt [Tue, 22 May 2007 07:11:50 +0000 (07:11 +0000)]
fix style, prefix and typo in a few comments

16 years agoimprove documentation of animate() function by mentioning both the 'swing' and 'linea...
Ed Engelhardt [Tue, 22 May 2007 07:05:32 +0000 (07:05 +0000)]
improve documentation of animate() function by mentioning both the 'swing' and 'linear' easings which are provided by default

16 years agoUpdated the version to 1.1.3a.
John Resig [Mon, 21 May 2007 00:48:44 +0000 (00:48 +0000)]
Updated the version to 1.1.3a.

16 years agoAdded support for the event object properties relatedTarget, metaKey, which, and...
John Resig [Sun, 20 May 2007 16:51:52 +0000 (16:51 +0000)]
Added support for the event object properties relatedTarget, metaKey, which, and charCode. Fixes bug #1204.

16 years agoFix for bug #983 (Packed jQuery doesn't have a license at the top of the file.)
John Resig [Sun, 20 May 2007 16:42:42 +0000 (16:42 +0000)]
Fix for bug #983 (Packed jQuery doesn't have a license at the top of the file.)

16 years agoAdded fixes for bug #1052. Fixes the problems with animation chaining (and problems...
John Resig [Sun, 20 May 2007 08:40:13 +0000 (08:40 +0000)]
Added fixes for bug #1052. Fixes the problems with animation chaining (and problems with toggling). Also, removed toggling from jQuery.fx (it's now handled in .animate() instead).

16 years agoFix for #1198
Brandon Aaron [Wed, 16 May 2007 16:21:50 +0000 (16:21 +0000)]
Fix for #1198

16 years agoFix for #921 (IE clones events)
Brandon Aaron [Mon, 14 May 2007 17:46:00 +0000 (17:46 +0000)]
Fix for #921 (IE clones events)

16 years agoFix for #1182
Brandon Aaron [Sun, 13 May 2007 17:59:38 +0000 (17:59 +0000)]
Fix for #1182

16 years agoFix for #1169
Brandon Aaron [Sun, 13 May 2007 17:20:03 +0000 (17:20 +0000)]
Fix for #1169

16 years agoFix for #1162
Brandon Aaron [Sun, 13 May 2007 05:53:49 +0000 (05:53 +0000)]
Fix for #1162

16 years agoFix for #1163
Brandon Aaron [Sun, 13 May 2007 04:01:57 +0000 (04:01 +0000)]
Fix for #1163

16 years agoFix for #1167
Brandon Aaron [Fri, 11 May 2007 22:29:16 +0000 (22:29 +0000)]
Fix for #1167

16 years agoClean up in jQuery.event.fix (#1171)
Brandon Aaron [Fri, 11 May 2007 21:39:38 +0000 (21:39 +0000)]
Clean up in jQuery.event.fix (#1171)

16 years agoFix for #1186
Brandon Aaron [Fri, 11 May 2007 21:14:11 +0000 (21:14 +0000)]
Fix for #1186

16 years agoAnother test commit.
John Resig [Fri, 11 May 2007 05:29:00 +0000 (05:29 +0000)]
Another test commit.

16 years agoTesting a commit to the new repository.
John Resig [Fri, 11 May 2007 05:24:22 +0000 (05:24 +0000)]
Testing a commit to the new repository.

16 years agoAdded some improvements to how the browser version is determined, based upon the...
John Resig [Sat, 5 May 2007 17:57:14 +0000 (17:57 +0000)]
Added some improvements to how the browser version is determined, based upon the suggestions of 'hobbit' in [1101].

16 years agoUpdated Packer - the current version was working incorrectly.
John Resig [Sat, 5 May 2007 17:37:38 +0000 (17:37 +0000)]
Updated Packer - the current version was working incorrectly.

17 years agoremoving the context and selector properties that I left in jQuery.prototype.init
Brandon Aaron [Wed, 2 May 2007 02:41:57 +0000 (02:41 +0000)]
removing the context and selector properties that I left in jQuery.prototype.init

17 years agoRev [1827] broke the two XPath sibling selectors.
John Resig [Tue, 1 May 2007 21:36:01 +0000 (21:36 +0000)]
Rev [1827] broke the two XPath sibling selectors.

17 years agoWe're not adding new selector features in until a new full release. Please discuss...
John Resig [Tue, 1 May 2007 21:31:26 +0000 (21:31 +0000)]
We're not adding new selector features in until a new full release. Please discuss features like this in the dev mailing list, and in the bug tracker, before committing code.

17 years agoThis test is expected to fail.
John Resig [Tue, 1 May 2007 21:27:55 +0000 (21:27 +0000)]
This test is expected to fail.

17 years agoMoving constructor code to jQuery.prototype.init for more flexibility
Brandon Aaron [Tue, 1 May 2007 21:03:44 +0000 (21:03 +0000)]
Moving constructor code to jQuery.prototype.init for more flexibility

17 years agoChanged test count to get the green bar back
Corey Jewett [Mon, 30 Apr 2007 17:38:41 +0000 (17:38 +0000)]
Changed test count to get the green bar back

17 years agoTDD. Broken test case, need to fix xpath parser...
Corey Jewett [Mon, 30 Apr 2007 17:31:51 +0000 (17:31 +0000)]
TDD. Broken test case, need to fix xpath parser...

17 years agoCompleted test for Rev 1820 (#1044)
Brandon Aaron [Mon, 30 Apr 2007 13:13:01 +0000 (13:13 +0000)]
Completed test for Rev 1820 (#1044)

17 years agoAppend colgroup and col elements (#1044)
Brandon Aaron [Mon, 30 Apr 2007 01:43:52 +0000 (01:43 +0000)]
Append colgroup and col elements (#1044)

17 years agoQuery now throws no warnings under strict mode in Firefox (ticket #922). In fixing...
John Resig [Sun, 29 Apr 2007 18:39:07 +0000 (18:39 +0000)]
Query now throws no warnings under strict mode in Firefox (ticket #922). In fixing this, revision [1771] was discovered and reverted (no API changes are being added in at this time), and a couple un-functioning test cases were fixed (array comparisions were being done for objects).

17 years agoForgot to remove the test cases for XPath [n]. (Ticket #995)
John Resig [Sat, 28 Apr 2007 15:45:38 +0000 (15:45 +0000)]
Forgot to remove the test cases for XPath [n]. (Ticket #995)

17 years agoRemoved support for the XPath [n] - we weren't doing it right, and it would actually...
John Resig [Sat, 28 Apr 2007 15:43:18 +0000 (15:43 +0000)]
Removed support for the XPath [n] - we weren't doing it right, and it would actually require a lot of code to "do it right" (much more than what the feature is immediately worth). See ticket #995.

17 years agoAdded support for finding elements that have underscores in their name (along with...
John Resig [Sat, 28 Apr 2007 15:39:30 +0000 (15:39 +0000)]
Added support for finding elements that have underscores in their name (along with other allowed characters). Fix for ticket #1084.

17 years agoAdded jQuery.browser.version (see ticket #1101). Works in all browsers that we support.
John Resig [Sat, 28 Apr 2007 15:33:25 +0000 (15:33 +0000)]
Added jQuery.browser.version (see ticket #1101). Works in all browsers that we support.

17 years agoFix for #1061
Brandon Aaron [Thu, 26 Apr 2007 18:52:10 +0000 (18:52 +0000)]
Fix for #1061

17 years agoMinor cleanup
Jörn Zaefferer [Wed, 25 Apr 2007 21:22:04 +0000 (21:22 +0000)]
Minor cleanup

17 years agoUpdated build to packer3
Jörn Zaefferer [Wed, 25 Apr 2007 21:11:06 +0000 (21:11 +0000)]
Updated build to packer3

17 years agoFix for #1086: Append all caps HTML tags
Brandon Aaron [Wed, 25 Apr 2007 19:48:00 +0000 (19:48 +0000)]
Fix for #1086: Append all caps HTML tags

17 years agoFix for #1114: Appending legend elements in Firefox
Brandon Aaron [Wed, 25 Apr 2007 18:41:49 +0000 (18:41 +0000)]
Fix for #1114: Appending legend elements in Firefox

17 years agoFix for #1087: Using appendTo with select elements
Brandon Aaron [Wed, 25 Apr 2007 18:19:39 +0000 (18:19 +0000)]
Fix for #1087: Using appendTo with select elements

17 years agounbind handlers with data + test (#935)
Brandon Aaron [Tue, 24 Apr 2007 22:35:04 +0000 (22:35 +0000)]
unbind handlers with data + test (#935)

17 years ago!= undefined :)
Brandon Aaron [Tue, 24 Apr 2007 21:50:49 +0000 (21:50 +0000)]
!= undefined :)

17 years agoDon't pass handler function as data for events + test (#1140)
Brandon Aaron [Tue, 24 Apr 2007 21:48:52 +0000 (21:48 +0000)]
Don't pass handler function as data for events + test (#1140)

17 years agoAdd hook for modifying the merge behavior of $.extend. Specifically, and time there...
Corey Jewett [Mon, 23 Apr 2007 15:29:57 +0000 (15:29 +0000)]
Add hook for modifying the merge behavior of $.extend. Specifically, and time there is a collision between the target and mergee this function is called to resolve it.

17 years agoFix an issue with adding multiple event handlers and reattaching the global event...
Brandon Aaron [Sun, 22 Apr 2007 16:34:23 +0000 (16:34 +0000)]
Fix an issue with adding multiple event handlers and reattaching the global event handler in IE

17 years agoAdding back modified test for #939
Brandon Aaron [Sun, 22 Apr 2007 05:13:33 +0000 (05:13 +0000)]
Adding back modified test for #939

17 years agoFix scope issue in DOM 2 event handlers
Brandon Aaron [Sun, 22 Apr 2007 04:17:43 +0000 (04:17 +0000)]
Fix scope issue in DOM 2 event handlers

17 years agoUse DOM 2 event handlers, do not trigger click on a tags and event.data no longer...
Brandon Aaron [Sun, 22 Apr 2007 03:16:53 +0000 (03:16 +0000)]
Use DOM 2 event handlers, do not trigger click on a tags and event.data no longer global

17 years agoFix for #1132
Jörn Zaefferer [Wed, 18 Apr 2007 18:35:34 +0000 (18:35 +0000)]
Fix for #1132

17 years agoAdd RegExp style xpath attributes and testcases. e.g. [@foo =~ /bar/i] and [@foo...
Corey Jewett [Fri, 13 Apr 2007 17:48:04 +0000 (17:48 +0000)]
Add RegExp style xpath attributes and testcases. e.g. [@foo =~ /bar/i] and [@foo !~ /bar/]

17 years agoRemove XMLHttpRequest shadowing, instead decide at runtime whether to create an Activ...
Jörn Zaefferer [Tue, 3 Apr 2007 21:19:54 +0000 (21:19 +0000)]
Remove XMLHttpRequest shadowing, instead decide at runtime whether to create an ActiveXObject or the XMLHttpRequest, potentially fixing #963

17 years agoSmall optimization to jQuery.css to save 12 bytes
Brandon Aaron [Tue, 3 Apr 2007 03:04:38 +0000 (03:04 +0000)]
Small optimization to jQuery.css to save 12 bytes

17 years agoAdded a number of additional speed gains (we now hold our own against Dojo and DOMQue...
John Resig [Mon, 26 Mar 2007 02:06:50 +0000 (02:06 +0000)]
Added a number of additional speed gains (we now hold our own against Dojo and DOMQuery), touched up some of the selector code, fixed some minor bugs, fixed a bug with triggerEvent in Opera, fixed some more test case bugs.

17 years agoOpera is also vulnerable to the getElementById-returning-name issue, fixed it there...
John Resig [Sun, 25 Mar 2007 20:30:16 +0000 (20:30 +0000)]
Opera is also vulnerable to the getElementById-returning-name issue, fixed it there as well. Also had to tweak the UTF8 regexps to work in Safari (Safari doesn't support \uXXXX in RegExps, lame.)

17 years agoAdded fix for bug #945 (Finding items with an ID of length in IE and Opera).
John Resig [Sun, 25 Mar 2007 20:28:34 +0000 (20:28 +0000)]
Added fix for bug #945 (Finding items with an ID of length in IE and Opera).

17 years agoFixed some more bugs with the test suite, made some minor file size tweaks to the...
John Resig [Sun, 25 Mar 2007 19:02:31 +0000 (19:02 +0000)]
Fixed some more bugs with the test suite, made some minor file size tweaks to the selector code.

17 years agoCleaned up a lot of the test suite - reorganized and renamed tests. Added a new trigg...
John Resig [Sun, 25 Mar 2007 18:06:18 +0000 (18:06 +0000)]
Cleaned up a lot of the test suite - reorganized and renamed tests. Added a new triggerEvent() method to the test runner to help us better test actual event interactions.

17 years agoAdded test for #769
Jörn Zaefferer [Sun, 25 Mar 2007 12:32:31 +0000 (12:32 +0000)]
Added test for #769

17 years agoAdded test for #815
Jörn Zaefferer [Sun, 25 Mar 2007 12:16:23 +0000 (12:16 +0000)]
Added test for #815

17 years agoAdded test for #935
Jörn Zaefferer [Sun, 25 Mar 2007 12:07:59 +0000 (12:07 +0000)]
Added test for #935

17 years agoAdded test for #939
Jörn Zaefferer [Sun, 25 Mar 2007 12:01:15 +0000 (12:01 +0000)]
Added test for #939

17 years agoAdded test for #945
Jörn Zaefferer [Sun, 25 Mar 2007 11:52:53 +0000 (11:52 +0000)]
Added test for #945

17 years agoAdded test for #968
Jörn Zaefferer [Sun, 25 Mar 2007 11:04:28 +0000 (11:04 +0000)]
Added test for #968

17 years agoAdded test for #970
Jörn Zaefferer [Sun, 25 Mar 2007 10:55:22 +0000 (10:55 +0000)]
Added test for #970

17 years agoFixed docs for ajax timouet to mention that its in milliseconds
Jörn Zaefferer [Sun, 25 Mar 2007 10:52:40 +0000 (10:52 +0000)]
Fixed docs for ajax timouet to mention that its in milliseconds

17 years agoAdded test for #975, so far it passes only in opera
Jörn Zaefferer [Sun, 25 Mar 2007 10:45:20 +0000 (10:45 +0000)]
Added test for #975, so far it passes only in opera

17 years agoAdded a not-yet-failing testcase for #1054
Jörn Zaefferer [Sun, 25 Mar 2007 10:34:03 +0000 (10:34 +0000)]
Added a not-yet-failing testcase for #1054

17 years agoAdded a not-yet-failing testcase for #1054
Jörn Zaefferer [Sun, 25 Mar 2007 10:30:59 +0000 (10:30 +0000)]
Added a not-yet-failing testcase for #1054

17 years ago(no commit message)
John Resig [Sun, 25 Mar 2007 02:45:12 +0000 (02:45 +0000)]

17 years agoAdded support for escaping selectors in ID and Classname queries (#143). You need...
John Resig [Sun, 25 Mar 2007 02:04:03 +0000 (02:04 +0000)]
Added support for escaping selectors in ID and Classname queries (#143). You need to be sure to double-escape selectors, though, as JavaScript requires it to get the right effect.

17 years agoAdded UTF8 Selector support (#1001) and fixed infinite selector loops (#1025). You...
John Resig [Sun, 25 Mar 2007 00:58:19 +0000 (00:58 +0000)]
Added UTF8 Selector support (#1001) and fixed infinite selector loops (#1025). You can now select elements by UTF8-based IDs, classes, and attributes.

17 years agoMerged my speed improvements into the jQuery core (is actually 200b smaller now!...
John Resig [Sat, 24 Mar 2007 21:55:03 +0000 (21:55 +0000)]
Merged my speed improvements into the jQuery core (is actually 200b smaller now!). Additionally, added in some better reporting to the test suite, and fixed a bug with how selector tests were performmed.

17 years agoSimplified the easing options - we now provide "swing" and "linear" (defaulting to...
John Resig [Sat, 24 Mar 2007 03:12:12 +0000 (03:12 +0000)]
Simplified the easing options - we now provide "swing" and "linear" (defaulting to "swing"). This is in response to #928.

17 years agoAdded a fix for #891 (Using a /foo selector within a non-document context.)
John Resig [Sat, 24 Mar 2007 03:00:03 +0000 (03:00 +0000)]
Added a fix for #891 (Using a /foo selector within a non-document context.)

17 years agoAdded fix for #986 (ID selector within an element that doesn't exist).
John Resig [Sat, 24 Mar 2007 02:54:24 +0000 (02:54 +0000)]
Added fix for #986 (ID selector within an element that doesn't exist).

17 years agoAdded support for comma-separated .is(), touched up the test cases. Resolves #977.
John Resig [Sat, 24 Mar 2007 02:44:41 +0000 (02:44 +0000)]
Added support for comma-separated .is(), touched up the test cases. Resolves #977.

17 years agoAn Ajax-based test was being run locally (which doesn't work).
John Resig [Sat, 24 Mar 2007 02:07:37 +0000 (02:07 +0000)]
An Ajax-based test was being run locally (which doesn't work).

17 years agoAdded a fix and test for bug #978 (Appending elements into an IFrame, in IE).
John Resig [Sat, 24 Mar 2007 02:03:47 +0000 (02:03 +0000)]
Added a fix and test for bug #978 (Appending elements into an IFrame, in IE).

17 years agoUpdate to fix for #1064 and tests
Brandon Aaron [Thu, 22 Mar 2007 01:37:28 +0000 (01:37 +0000)]
Update to fix for #1064 and tests

17 years agoThat should have been a string, not a number
Brandon Aaron [Wed, 21 Mar 2007 20:15:26 +0000 (20:15 +0000)]
That should have been a string, not a number

17 years agoFix for #1064 and added tests for setting/getting opacity
Brandon Aaron [Wed, 21 Mar 2007 20:10:04 +0000 (20:10 +0000)]
Fix for #1064 and added tests for setting/getting opacity

17 years agoOnly fadeIn/Out or slideUp/Down elements that are already hidden/visible (for #1051).
John Resig [Sun, 18 Mar 2007 18:52:09 +0000 (18:52 +0000)]
Only fadeIn/Out or slideUp/Down elements that are already hidden/visible (for #1051).

17 years agoFix for #953, use always GET for $.get
Jörn Zaefferer [Sat, 17 Mar 2007 14:18:06 +0000 (14:18 +0000)]
Fix for #953, use always GET for $.get

17 years agoAnimations now use a single interval timer, global for all animations. This severely...
John Resig [Sat, 17 Mar 2007 02:02:01 +0000 (02:02 +0000)]
Animations now use a single interval timer, global for all animations. This severely improves the performance and responsiveness of the animations in most browsers.

17 years agoForced the test suite into standards mode. Fixed some issues with how opacity was...
John Resig [Fri, 16 Mar 2007 20:37:10 +0000 (20:37 +0000)]
Forced the test suite into standards mode. Fixed some issues with how opacity was handled in IE. Fixed a number of IE fx bugs.

17 years agoRemoved some un-needed code from css() and fixed a bug with how Safari handles childN...
John Resig [Fri, 16 Mar 2007 04:32:37 +0000 (04:32 +0000)]
Removed some un-needed code from css() and fixed a bug with how Safari handles childNodes in makeArray.

17 years agoAdded a test for bug #997.
John Resig [Fri, 16 Mar 2007 00:05:38 +0000 (00:05 +0000)]
Added a test for bug #997.