Commit Graph

5144 Commits

Author SHA1 Message Date
John Resig
aa29b8e3bc Had to remove the global variable tricks (especially the delete window calls) as they cause
exceptions in IE. Also fixed a faulty test that assumed the order of Ajax function callbacks 
would be consistent.
2009-01-12 01:12:58 +00:00
John Resig
7623702565 Tweaked the benchmark tests. 2009-01-12 00:24:36 +00:00
John Resig
1eae1541b8 Made a note about the push method. 2009-01-12 00:24:16 +00:00
John Resig
fa615bedd4 Made the case specific of the type attribute. 2009-01-11 21:22:37 +00:00
John Resig
2e42c5b044 Merging the latest from Sizzle. 2009-01-11 19:45:04 +00:00
John Resig
73ff49ac9a Prevented non-script <script> blocks from executing, fixing #3733. 2009-01-11 19:33:01 +00:00
John Resig
9d997a81e2 Forgot to change the build.xml file as well. 2009-01-11 16:19:11 +00:00
John Resig
7346a476cc Fixed boxModel support - is now computed with feature detection, rather than sniffing. 2009-01-11 16:17:20 +00:00
John Resig
0066ba3f82 .closest() with positional selectors wasn't worked as expected. 2009-01-10 20:30:03 +00:00
John Resig
b1018cad12 Landed a fix for when a DOM element gets accidentally removed by another live event handler. Thanks to Irae for the patches. Fixed #3820. 2009-01-10 19:57:07 +00:00
John Resig
29bf601f34 Fixed an issue with script nodes being removed incorrectly, fixes #3737. 2009-01-10 01:07:59 +00:00
Ariel Flesler
afb05081c0 testrunner: Putting back the global variables used for ajax tests. I added many calls to delete though. The global namespace must be cleaned up before calling start() again. 2009-01-10 00:16:48 +00:00
Ariel Flesler
d62875fb01 testrunner: Removing every global variable leaked within (and outside) tests. Some were deleted and some saved within the jQuery namespace. 2009-01-09 23:49:18 +00:00
John Resig
ec7baf230d Didn't get specific enough with the proxy guid, fixes #3787. 2009-01-09 22:14:48 +00:00
John Resig
d12e8a34e6 Made it so that you can bind a single function to multiple .live() selectors. Additionally, simplified the proxy code to provide a default proxy function.
Fixes #3787.
2009-01-09 22:10:42 +00:00
Ariel Flesler
eced38a30d testrunner: refactored unbind's tests. Including one for #3538, passing since last commit. 2009-01-08 22:22:33 +00:00
Ariel Flesler
6898cd6d2a jquery event: Fixes #3538. unbind on many events was failing. 2009-01-08 22:21:16 +00:00
John Resig
c6f189ac73 Selector state wasn't being passed along on a cloned jQuery object. 2009-01-08 21:41:58 +00:00
Scott González
49d0d5b7a3 Fixed tabindex normalization so that elements that natively support tabbing, but don't have a tabindex explicitly set return 0 instead of undefined.
Removed jQuery.support.tabindex since we're only normalizing non-XML right now and all browsers support tabIndex for HTML documents.
2009-01-07 14:36:30 +00:00
John Resig
f9e0b1ed7a Merged in a missing argument from Sizzle. 2009-01-07 14:31:28 +00:00
John Resig
d8706c5ac9 Landed a number of improvements to the selector engine. Results are auto-merged onto the jQuery
object, class filtering is now done inline, and not filtering is more efficient.
2009-01-07 00:13:57 +00:00
John Resig
ef661a50b9 Removed all uses of @ in the benchmarker and added a couple :not() tests. 2009-01-06 20:23:44 +00:00
John Resig
dcbec1f498 Cleaned up the benchmarking utility (using a newer version of jQuery and fixing the runner). 2009-01-06 16:19:55 +00:00
John Resig
cc70e03ec7 Made the .unqiue() within .find() optional (speeds up calls). 2009-01-06 16:17:50 +00:00
John Resig
c786f1097e Tagging the 1.3b2 release. 2009-01-05 23:33:56 +00:00
Ariel Flesler
2a81c359d5 jquery selector: Replacing {0,1} for ? in a regex. 2009-01-05 23:19:58 +00:00
John Resig
b1e161466c Disabled an extra event binding. 2009-01-05 23:06:57 +00:00
John Resig
1822939000 Switched back to the old style of running embedded scripts (users who have duplicate runs will
have to deal with it another way).
2009-01-05 22:58:02 +00:00
John Resig
45b3a884d5 Timeout test appears to be flaky - disabling, for now. 2009-01-05 22:14:26 +00:00
John Resig
60226c8a30 The timeout test was waiting for 10 seconds - unnecessary, lowered it to 1 second. 2009-01-05 22:05:59 +00:00
John Resig
4503457616 Oops, order of operations. 2009-01-05 22:02:20 +00:00
John Resig
089da4ea77 Brought in a fix from Sizzle - IE doesn't have .contains on XML elements. 2009-01-05 21:59:07 +00:00
John Resig
d3141dcdba Simplified the XML clone test. 2009-01-05 21:56:35 +00:00
John Resig
c6de039bb1 Simplified the XML selector test (save the result). 2009-01-05 21:04:15 +00:00
John Resig
f796ad14fd Fixed an issue with how broken selector tests were handled in IE (the exception was misdirected). 2009-01-05 20:43:58 +00:00
John Resig
69e86d4f98 The triggered flag was being set too early, which was preventing bubbling form working when a
native event existed.
2009-01-05 20:43:24 +00:00
John Resig
ebd9205fdb Make sure that if no ownerDocument is available that we fall back to the node itself (likely the document). 2009-01-05 19:22:25 +00:00
John Resig
122b672f70 Landed cross-browser support for tabIndex, by Scott, closes ticket #3649. 2009-01-05 17:34:42 +00:00
Ariel Flesler
42c99472cc jquery event: Removed a needless if (old code) 2009-01-05 13:31:21 +00:00
Ariel Flesler
0c1653249a jquery intro: looks nicer when built 2009-01-05 12:09:04 +00:00
Ariel Flesler
e216243a03 jquery fx: Shortening the code additions on [6037]. 2009-01-05 12:05:38 +00:00
John Resig
558d03f24c Merging from Sizzle (fixed a bug when querySelectorAll is used. 2009-01-05 02:45:20 +00:00
John Resig
4694e537bc Forgot to merge in some of the new tests from Sizzle. 2009-01-05 01:24:14 +00:00
John Resig
cc66e6affe Made hide, show, toggle, slideUp, slideDown, and slideToggle animate margins and paddings in addition to height, width, and opacity (results in a much-smoother animation). 2009-01-05 01:14:36 +00:00
John Resig
19a3ea2c7f Accidentally left in an extra echo statement in the Makefile. 2009-01-05 00:34:40 +00:00
John Resig
989667c9fd Synced with the Sizzle repository. 2009-01-05 00:21:13 +00:00
John Resig
d1146aa7bf .live("div div") was failing due to the extra space in the selector (which conflicted with multiple event binding in .bind). 2009-01-04 23:58:43 +00:00
John Resig
192d6cd4a3 Moved the copyright to the intro file, added a ! so that it passes through YUIMin untouched, and changed the Date and Revision so that they're now generated automatically based upon all of jQuery rather than just the core file. 2009-01-04 23:34:18 +00:00
Ariel Flesler
9472728bce jquery event: event.stopImmediatePropagation() stops live handlers as well. 2009-01-04 22:32:18 +00:00
Ariel Flesler
83be3dca69 jquery core: Misc file size optimizations. 2009-01-04 22:25:46 +00:00