Commit graph

1312 commits

Author SHA1 Message Date
Ariel Flesler 16f6b3684d test runner: when errors are thrown in a test, the message is successfully show on all browsers. 2008-05-12 22:31:27 +00:00
Ariel Flesler 99101e02f9 jquery fx & event: replaced the use of .apply(), where .call() could had been used. 2008-05-12 19:45:02 +00:00
Ariel Flesler 440c08d768 jquery core: Applied #1318 to jQuery.grep 2008-05-12 01:21:50 +00:00
Ariel Flesler 1762dc24d6 jquery core: declared undefined locally, to speed up references, and allow munging all their names. 2008-05-11 20:59:24 +00:00
Ed Engelhardt 6aa4200a8c fix small typo in comment 2008-05-11 10:17:11 +00:00
Jörn Zaefferer aec0dad980 jquery core: reverted qunit introduction until build scripts are updated 2008-05-08 21:42:40 +00:00
Jörn Zaefferer b6bb0d46b6 jquery testsuite: switch to qunit 2008-05-08 19:33:49 +00:00
Ariel Flesler 0a794ed5fc test runner: added 2 tests for [5500] 2008-05-08 17:16:49 +00:00
Ariel Flesler 6a9b73c7b9 test runner: extra tests for $.fn.add enabled by [5503] and a small fix for an html() test. 2008-05-08 17:11:03 +00:00
Ariel Flesler 487567e82f jquery core: closes #2811, $.fn.add now calls $.unique internally, also it was failing for array-like f.e: window. 2008-05-08 17:08:59 +00:00
Ariel Flesler 407c5eb430 test runner: extra test case, [5501] 2008-05-08 16:25:12 +00:00
Ariel Flesler a56317ea3a jquery event: fixed $.fn.load, closes #2819. 2008-05-08 16:23:43 +00:00
Ariel Flesler 858d56fc8e jquery core: closes #2771
$.inArray now makes a === check because of IE.
$.inArray is used in $.fn.index, this is shorter, and breaks the loop when possible.
$.fn.index can receive a jquery object, and the first element is used
2008-05-08 16:14:49 +00:00
Ariel Flesler ca73ba5668 jquery event: removing 3 unnecessary lines since the addition of $.event.proxy. 2008-05-08 16:10:47 +00:00
Ariel Flesler 9f0c0cfec5 test runner: making 2 tests more flexible because they yield a slightly different result on Safari 3, but still acceptable. 2008-05-08 16:04:01 +00:00
Brandon Aaron 4b970deacd Making sure originalTarget gets copied over from the original event object 2008-05-07 13:21:16 +00:00
Scott González 5311565223 ajax test: Removed test for extending with null. 2008-05-07 01:16:54 +00:00
Ariel Flesler 96ca83d150 test runner: extra test for makeArray, related to [5481] 2008-05-07 00:46:14 +00:00
Ariel Flesler 4d41c71d3d jquery core: Reverting the changes added at [5480] 2008-05-07 00:07:44 +00:00
Ariel Flesler a584f82aef jquery core: makeArray was parsing forms into array of elements. 2008-05-06 23:28:21 +00:00
Ariel Flesler 69d9abff2c jquery core: removing needless 'else' and 'new' in $.fn.init. 2008-05-06 22:36:30 +00:00
Jörn Zaefferer 46931d3146 jquery ajax: support for dynamic data arguments, see #2806; added test/data/echoQuery.php for easier testing of sent query strings 2008-05-06 22:21:43 +00:00
Jörn Zaefferer 1753ab3d82 jquery testrunner: reset $.ajaxSettings after each run to prevent sideeffects between tests 2008-05-06 19:39:58 +00:00
Ariel Flesler ba48be3ada test runner: translated all the ok() with '==' to equals(), as it gives more information on failures. 2008-05-06 18:56:02 +00:00
Ariel Flesler e5e24bd33f jquery core: enhancements to jquery.map, closes #2803 2008-05-06 14:54:53 +00:00
Ariel Flesler 789ad4f769 jquery core: small code reduction. 2008-05-06 01:29:13 +00:00
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