Commit Graph

5478 Commits

Author SHA1 Message Date
Ariel Flesler
b13a961ff5 jquery core: closes #1480, isFunction is even tougher. 2008-05-14 20:10:39 +00:00
Ariel Flesler
d524c7eecc jquery ajax: closes #2842. 2008-05-14 19:50:24 +00:00
Ariel Flesler
69f72761fa jquery core: fixed deep extend of objects. Closes #1562 & #2820. 2008-05-14 19:45:31 +00:00
Ariel Flesler
831625c43e jquery offset: reducing more the code size. 2008-05-14 18:06:59 +00:00
Ariel Flesler
ac324c97e3 jquery offset: reducing the code size. 2008-05-14 17:54:54 +00:00
Ariel Flesler
f717260eea jquery dimensions: reducing the code size. 2008-05-14 17:23:44 +00:00
John Resig
44a6f5d0cb Tagging the 1.2.4b release. 2008-05-14 04:53:25 +00:00
Ariel Flesler
06eb4d3223 jquery ajax: renaming jQuery.ajax.re to remote. 2008-05-13 19:58:00 +00:00
Ariel Flesler
5c0aea3bfe jquery ajax: absolute urls were assumed to be cross domain. Closes #2816. 2008-05-13 19:47:39 +00:00
Brandon Aaron
bf802496c6 Updating outerWidth unit test to use absolute position 2008-05-13 18:56:56 +00:00
Ariel Flesler
28182b4320 Closes #2510 2008-05-13 02:20:08 +00:00
Ariel Flesler
3f5ff3097c jquery: removing unnecessary trailing and leading spaces & tabs. 2008-05-13 01:45:58 +00:00
Ariel Flesler
20a7bff401 jquery event & fx: tidying some comments. 2008-05-13 01:42:35 +00:00
Ariel Flesler
70b5e670ca jquery core: don't let .attr() set style for xml. 2008-05-13 00:42:12 +00:00
Ariel Flesler
e9b2781d30 jquery core: #2548, #2170, #2188, #2099, #1170, #2558, #2521, #2119, #1271, #2453, #2537.
mass refactoring of $.attr (#2548)

* Changes
- undefined was returned for falsy values.
- expando attributes are used when possible.
- one $.isXmlDoc instead of 2.
- $.attr( style, ... ) goes thru less useless checks.
- reduced code size of recurrent accessed variables/checks.
- $.props doesn't need redundant sets of key value anymore.
- added cellSpacing to $.props (#2521)
2008-05-13 00:37:30 +00:00
Ariel Flesler
37394598cb test runner: improved a test and added a missing semicolon 2008-05-12 22:59:58 +00:00
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