Commit graph

1386 commits

Author SHA1 Message Date
Ariel Flesler eeab071790 jquery core: code reduction at $.each and $.curCSS. 2008-05-06 00:54:59 +00:00
Ariel Flesler 6fc2c67581 test runner: adding some tests that were missing for the $ constructor. 2008-05-06 00:42:59 +00:00
Ariel Flesler e6fccd7103 jquery selector: reverting [5343], check #1960. 2008-05-06 00:13:20 +00:00
Jörn Zaefferer d726a96b1f jquery testrunner: reset global events after each run, speeds up a test run for ajax from 16s to 10s (test/?ajax), kudos to Ariel 2008-05-05 23:29:28 +00:00
Scott González f8698395ac core: Fixed #2605: .data() now accepts null as a value. 2008-05-03 01:51:55 +00:00
Scott González ad3c49d1b6 core: Fixed #2605: .data() now accepts null as a value. 2008-05-03 01:39:27 +00:00
Scott González 35c68b4578 core: Fixed #2600: jQuery.extend no longer skips over null properties. 2008-05-02 19:49:41 +00:00
Ariel Flesler 87758bbe69 jquery fx: adding jQuery.fx.def as default speed for animations 2008-05-02 14:12:26 +00:00
Ariel Flesler 42161a1e34 jquery selector: removed needless check in jQuery.sibling. 2008-05-02 14:03:02 +00:00
Scott González ec06b7213d jQuery src: set svn:eol-style to native 2008-05-01 20:54:35 +00:00
Scott González bd41548792 core: make sure all source files end with a single blank line. 2008-04-30 19:35:17 +00:00
Ariel Flesler cd455eeba7 jquery core: extend() now supports deep + extending jquery itself
cached some vars and it proved to be faster.
2008-04-30 00:09:55 +00:00
Ariel Flesler 17b1e407d1 mainly made the code shorter:
- removed some needless if's
- replace multiple "var x" for one, comma separated declaration.
- added a local fn called now() for the (new Date)s
- fixed the indentation of a block, and a typo in a comment.
- used fn instead of prototype where possible
- jquery fx: exposed the speeds hash as jQuery.fx.speeds.

Also fixed (again) line endings
2008-04-29 23:34:50 +00:00
Scott González ea44348fdb core: Adding missing radix for paresInt. 2008-04-29 23:26:53 +00:00
Scott González 2977f3df60 Fixed line endings. 2008-04-29 22:52:36 +00:00
Ariel Flesler d822c0c214 test runner: adding a test case for $.fn._toggle with more than 2 functions. 2008-04-29 22:20:02 +00:00
Ariel Flesler aaff17be42 jquery event: from #2249, adding $.event.proxy to link event handlers, and implementing it on $.event.add, $.fn._toggle and $.fn.one.
It also fixes a bug in $.fn.one that was unbinding ALL the existing handlers.
2008-04-29 22:06:54 +00:00
Ariel Flesler 08836acc30 jquery event: adding some whitespaces to the last change. 2008-04-29 21:37:41 +00:00
Ariel Flesler c3cbc5bf98 jquery event: jQuery.toggle can accept more than 2 functions, closes #2378 2008-04-29 21:35:35 +00:00
Ariel Flesler e9c620794f jquery core: in $.makeArray, improved array-like detection, Safari reports nodelists as 'function', so I got back to attribute sniffing. 2008-04-29 20:58:22 +00:00
Ariel Flesler f54d277df4 test runner: voided the failing tests for jQuery.map, that belong to an unapproved proposal(#2616). 2008-04-29 20:54:30 +00:00
Ariel Flesler 5ca908d3b6 test runner: added another test for makeArray. 2008-04-29 20:52:48 +00:00
Brandon Aaron aea452f162 Merged dimensions with core 2008-04-29 03:26:06 +00:00
Brandon Aaron f3f3238c53 jQuery.event.fix performance boost. An example: click event was previously ~3ms and is now < 1ms. jQuery.event.trigger also got another small boost in performance. 2008-04-28 21:09:27 +00:00
Jörn Zaefferer 4d652ca520 jquery core: fix for #1960, delegating to document.getElementsByName for [name=...] selectors (not in combination with :not) 2008-04-28 14:11:35 +00:00
Jörn Zaefferer ab756ceab0 jquery core: tests for #2616 2008-04-28 14:00:27 +00:00
Brandon Aaron b84b997ea4 Prevent a single event object from being fixed more than once 2008-04-27 23:08:31 +00:00
Brandon Aaron 77bb2c505f Optimization for jQuery.event.fix ... don't send fake event through jQuery.event.fix 2008-04-27 20:37:58 +00:00
Ariel Flesler 508b1e2432 jquery core: fixed makeArray to recognize the window (has length)
test runner: updated the tests for makeArray
2008-04-25 03:48:07 +00:00
Ariel Flesler 25f9974cee jquery core: simplified the code using the new jQuery.makeArray from [5314] where possible. 2008-04-24 21:46:22 +00:00
Ariel Flesler ba391eccf9 - Adding the enhancements to the test runner, to accept multiple(and negative) filters from the GET variables, as specified in the ticket #2738. 2008-04-24 21:32:35 +00:00
Jörn Zaefferer f8e5fd6fef jquery core: Patch from #2619 applied, making makeArray more flexible and faster; removed hint to ticket from (previously failing) test 2008-04-24 21:23:36 +00:00
Jörn Zaefferer f12d94a628 testrunner: refactored url-test-filter, still regex based 2008-04-24 20:08:50 +00:00
Brandon Aaron 2efd0b4cc5 Fixed regression with 5276 where return false in first handler of multiple handlers was ignored. And 5276 log message says 200% but I meant 20%. 2008-04-23 18:57:17 +00:00
Ariel Flesler 291f071eff - adding the tests for the changes to $.makeArray, proposed at #2619 2008-04-22 23:07:35 +00:00
Jörn Zaefferer f861c88b1b jquery testrunner: accept regexp to select tests, eg. /test/?^core|^selector to run both core and selector module 2008-04-22 22:43:18 +00:00
Jörn Zaefferer d3d8f3561b jquery.ajax: fix for beforeSend-cancelling-sideeffects 2008-04-22 22:18:11 +00:00
Jörn Zaefferer e454e8305d jquery.ajax: improvement for #2688, added test 2008-04-22 22:07:17 +00:00
Jörn Zaefferer 32b1cb3a5c jquery.event: Patch for #2708 2008-04-22 21:59:40 +00:00
Brandon Aaron 6d28ebff85 Some small optimizations to the event module. jQuery.event.trigger over 200% faster in IE and less code. Thanks in large to Ariel Flesler. 2008-04-22 05:23:55 +00:00
Brandon Aaron 9de35ce3e7 Small optimization to offset (thanks Ariel Flesler) 2008-04-21 22:54:46 +00:00
Brandon Aaron 3e285bd60d Small optimization to jQuery.curCSS (thanks Ariel Flesler) 2008-04-21 22:54:25 +00:00
Brandon Aaron 5d033dba02 Trigger onclick handlers of links 2008-04-21 20:39:17 +00:00
Yehuda Katz a9fe9a2a5f Closes #2688 2008-04-14 18:16:01 +00:00
John Resig 1ba2865b08 Tagging the 1.2.4a release. 2008-04-10 01:17:07 +00:00
Sean Catchpole 4515aba79c $.extend deep now copies children's children, ect... 2008-04-08 16:40:03 +00:00
Jörn Zaefferer dc7f8cfca6 jquery core: updated version pre-1.2.4 2008-03-17 10:53:00 +00:00
John Resig d44ddef720 Made outerHeight/outerWidth accept .outerWidth(true) to include the margin. If any options are passed in it's assumed that you want the margin included. 2008-03-15 19:00:07 +00:00
John Resig 8f14ee1dd5 Imported the innerHeight and outerHeight methods from the Dimensions plugin. 2008-03-15 18:53:40 +00:00
John Resig a19a123d89 Fixed issue with typeof check - "array" isn't a valid type. 2008-02-17 15:05:55 +00:00