Commit Graph

2860 Commits

Author SHA1 Message Date
Ariel Flesler
abb055bb49 jquery event: caching the props array and fixing the loop that goes thru it. It was accessing an invalid index. 2008-05-28 20:43:13 +00:00
Ariel Flesler
52fbe5d2a8 test runner: adding a new test page called 'polluted'. Where one can choose to pre-include other libraries and run the test suite with them. 2008-05-28 20:19:18 +00:00
Ariel Flesler
6bf51eea04 test runner: Adding type="text/javascript" to a script tag (trivial). 2008-05-28 18:46:38 +00:00
Ariel Flesler
11761def42 jquery ajax: small (misc) improvement to $.param. 2008-05-28 02:50:38 +00:00
Ariel Flesler
c6e88b16e9 test runner: a test for load() with a hash of data, and another for load() with a string of data (#1516).
It includes a php that dumps all the GET and POST vars to html elements, where the key makes the id, and the value the text.
2008-05-27 22:46:28 +00:00
Ariel Flesler
7ec772374d jquery ajax: Closes #1516. load() can get a string of data (not only a hash) and it'll be a GET request. 2008-05-27 22:44:06 +00:00
Ariel Flesler
e87d2c7a58 jquery core: adding rowSpan to jQuery.props. 2008-05-27 19:17:26 +00:00
Paul Bakaus
6141984b71 core: fixed offset method for FF3 - FF3 seems to have problems reporting the correct values with getBoundingClientRect on the body element 2008-05-25 13:18:01 +00:00
Ariel Flesler
042e51e731 jquery ajax: changing a set of &&/|| for ?/:. 2008-05-25 03:20:13 +00:00
Ariel Flesler
3c5c3dffaa test runner: A test was failing on Opera 9.50. Not a bug, just made the test less specific and it passed. 2008-05-24 21:27:12 +00:00
John Resig
895df76146 Tagging the 1.2.6 release. 2008-05-24 18:22:17 +00:00
Ariel Flesler
0e63c789e3 test runner: adding more tests for attr(). Related to [5574] and [5683]. 2008-05-24 18:11:55 +00:00
Ariel Flesler
cff5323a1d jquery core: closes #2930. Normalizing attr() to return undefined, even when getting DOM attributes. 2008-05-24 18:09:21 +00:00
Ariel Flesler
7f27816d30 jquery core: casting numbers received by val() to string. 2008-05-24 17:57:45 +00:00
Ariel Flesler
ec075266e9 jquery core: saving some bytes and fixing indentation inside jQuery.prop. 2008-05-23 00:54:59 +00:00
John Resig
456d8a62cc Tagging the 1.2.5 release. 2008-05-21 03:14:54 +00:00
John Resig
2db27efd66 Tagging the 1.2.4 release. 2008-05-18 20:19:46 +00:00
Ariel Flesler
3b81847f35 jquery fx: removing a needless comment after the last commit. 2008-05-16 20:00:16 +00:00
Ariel Flesler
6b535eb79f jquery fx: removing 2 unnecessary isFunction calls, options.complete is ALWAYS a function. 2008-05-16 19:51:34 +00:00
Ariel Flesler
d44c5025c4 jquery core: Closes #2709, avoiding a bug on IE 6 when using globalEval and a base node is found. 2008-05-16 18:37:11 +00:00
Ariel Flesler
3a7b09e5c7 jquery core: saving some bytes in $.fn.val by using $.makeArray. 2008-05-16 18:32:03 +00:00
Ariel Flesler
da76a723e1 jquery core: updating a comment, thanks to Scott for spotting it. 2008-05-16 16:41:12 +00:00
Ariel Flesler
afc2ebde14 jquery ajax: Closes #2567, additional setting for $.ajax called 'dataFilter'. It's an optional function that receives the ajax response, and returns the sanitized version. 2008-05-16 16:39:27 +00:00
Brandon Aaron
2c2a6253e3 Updating unit tests for offset 2008-05-15 23:36:06 +00:00
Ariel Flesler
c5f4d70e2b jqueryjquery ajax: closes #1289. Renamed 'xml' and 'r' to 'xhr'. 2008-05-15 21:03:31 +00:00
Brandon Aaron
82ba3709ee Reverted back to using the num helper method in offset.js 2008-05-15 20:29:52 +00:00
Brandon Aaron
de6520b50e Added some unit tests for position method. Fixed issue with position in IE. 2008-05-15 19:38:00 +00:00
Ariel Flesler
9a7652260b jquery core: SHOULD fix #2802. Caching document.defaultView, instead of defaultView.getComputedStyle as it fails on Safari 2. 2008-05-15 14:45:29 +00:00
Ariel Flesler
54867a9803 jquery ajax: caching repetive conversions/checks for settings.type in $.ajax. 2008-05-15 14:16:19 +00:00
Ariel Flesler
31f22f244b jquery ajax: fixed #2865 and #2570. Not passing username to xml.open if it's null, or it open a login popup on some Opera's. 2008-05-15 13:45:09 +00:00
Ariel Flesler
5a92ec263d jquery dimensions & offset: moving the local function 'num' to core, so it can be safely used by both modules. 2008-05-15 12:53:07 +00:00
Ariel Flesler
1382ea8d98 test runner: improved the shown message of 4 isFunction tests. 2008-05-14 21:18:46 +00:00
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