Commit graph

939 commits

Author SHA1 Message Date
Ariel Flesler 18d3e75945 jquery event: fixed a typo in a comment. 2008-06-27 14:17:28 +00:00
Paul Bakaus d1210a5a88 core: revertd last change, breaks width/height logic in css() 2008-06-24 16:16:15 +00:00
Paul Bakaus 201f1b66cc core: changed jQuery.css to num (uses curCSS) in the height/width methods with dramatically increases performance for height/width 2008-06-24 15:55:50 +00:00
Paul Bakaus b5d65d4e49 fx: 1) patch from Ariel removes the need of adding properties like scrollTop and scrollLeft specifically to fx.step - The priority order is style[prop] ? style[prop] : elem[prop], 2) fixed the height/width case - it wasn't possible to animate obj.height/obj.width if there wasn't a style attr. 2008-06-24 10:00:42 +00:00
Ariel Flesler faa502cbc0 jquery ajax: renamed $.fx.speeds.def to _default to match $.fx.step._default naming convention. 2008-06-20 16:56:25 +00:00
Ariel Flesler 6159593520 jquery ajax: making Paul's last change([5735]) shorter. 2008-06-20 16:20:20 +00:00
Paul Bakaus 91a84d233d fx: animate() can now animate any property on a generic object or native wrapper (i.e. window.outerWidth) 2008-06-20 09:02:48 +00:00
Ariel Flesler bf14ac1236 jquery ajax: added a comment explaining the last commit. 2008-06-17 21:31:57 +00:00
Ariel Flesler 35b8157507 jquery ajax: closes #3052. Additional check on httpData() to keep compatibility with older code (form plugin). 2008-06-17 21:03:20 +00:00
Ariel Flesler 335b8816c2 jquery ajax: Fixes #3045. The protocol wasn't being checked to see if a script is required for cross domain requests. 2008-06-17 20:32:15 +00:00
Ariel Flesler 5e50079b14 jquery core: closes #3053. clean() wasn't parsing 0's. So html( 0 ) was failing failing. 2008-06-17 19:57:42 +00:00
Ariel Flesler 2f2602ed15 jquery core: closes #3034. Ids with '-' weren't handled by quickExpr. 2008-06-13 18:42:54 +00:00
Scott González fa48ad1d1b core: fixed #2993: .offsetParent() will now return the body element in all browsers for fixed position elements. 2008-06-06 00:28:33 +00:00
Ariel Flesler c90fe0283b jquery ajax: passing the settings object to httpData instead of just the dataFilter, so that when called it retains the object as "this". 2008-06-05 20:00:50 +00:00
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 11761def42 jquery ajax: small (misc) improvement to $.param. 2008-05-28 02:50:38 +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 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
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
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 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
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
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 99101e02f9 jquery fx & event: replaced the use of .apply(), where .call() could had been used. 2008-05-12 19:45:02 +00:00