John Resig
|
77da94552e
|
Added $().data(), $().removeData(), and .bind("click!"). .data() and .removeData() handle namespaced data, .data() triggers a "set-KEY" event on all modified elements, and .bind("click!") only triggers a click (and no namespaced events).
|
2008-02-03 04:05:24 +00:00 |
|
John Resig
|
25c76232c6
|
Updated the years on the licensing.
|
2008-02-01 23:23:11 +00:00 |
|
John Resig
|
5da2e98cb3
|
De-eval'd selectors and the various DOM methods (will marginally help our speed and make us more compatible with projects like Caja and Adobe AIR). Left a selector eval in for backwards compatibility support of selector plugins.
|
2008-01-26 00:26:28 +00:00 |
|
David Serduke
|
1faed11e3c
|
Fix #2184 by using the jQuery.clean() function instead of a direct innerHTML assignment in the clone() function for IE.
|
2008-01-23 03:54:23 +00:00 |
|
David Serduke
|
0635df4391
|
Fixed #2174 by removing the s.dataType == "json" check for possible cross domain since it causes absolute urls to use a <script> tag ajax retrieval even though absolute urls work fine for retrieving local data. Cross-domain jsonp will still work since the $.ajax() function actually changes the s.dataType to "script" before it reaches this check in cases where it is s.dataType == "jsonp" or s.dataType == "json" and a parameter has =? in it.
|
2008-01-17 21:38:58 +00:00 |
|
David Serduke
|
0cd307ec10
|
Changing end of line from CRLF to just LF like the rest of the source files.
|
2008-01-14 22:30:48 +00:00 |
|
John Resig
|
c39bd07cc9
|
Added support for breaking in an object loop (Bug #2111).
|
2008-01-14 20:06:34 +00:00 |
|
John Resig
|
ff08982508
|
And the rest of the _default change.
|
2008-01-14 19:37:31 +00:00 |
|
John Resig
|
260fc23e92
|
Tweaked the default Accept header to _default.
|
2008-01-14 19:37:05 +00:00 |
|
John Resig
|
6e739fd2ba
|
Added a check to make sure that .style exists before trying to access it (Bug #2105).
|
2008-01-14 19:17:35 +00:00 |
|
John Resig
|
047debc750
|
Fixed default property name for Opera (bug #2159).
|
2008-01-14 19:15:27 +00:00 |
|
John Resig
|
709df93304
|
Added a fix for bug #2140. Opera doesn't like concating null or undefined values.
|
2008-01-14 18:46:44 +00:00 |
|
John Resig
|
5974495e6b
|
Just added support for Accept headers in Ajax requests - defaults to the correct header depending on the type of request that's being performmed. (Bug #1986)
|
2008-01-14 18:19:28 +00:00 |
|
Jörn Zaefferer
|
c27cbdc477
|
reverted change for #2114
|
2008-01-14 09:42:53 +00:00 |
|
Jörn Zaefferer
|
2fa855601e
|
fix for #2114; refactored tests for bind() to highlight failing select-change-test
|
2008-01-14 09:33:08 +00:00 |
|
John Resig
|
9bcd2b370b
|
Tweaked comment for isFunction.
|
2008-01-12 23:03:39 +00:00 |
|
David Serduke
|
d36382e9a3
|
Fixed an edge case in show() where the css says the display should be none. In that case force 'block' so it will actually show.
|
2008-01-12 01:06:37 +00:00 |
|
Yehuda Katz
|
b91eef070d
|
Adds support for username and password to $.ajax
|
2008-01-07 01:03:31 +00:00 |
|
Yehuda Katz
|
87d6bcec31
|
Fixes bug with charCode, bad 'var' and missing semicolon
|
2007-12-28 19:08:36 +00:00 |
|
David Serduke
|
05930c5a0d
|
Fixed #2084 by added embed to the list of elements where it is ok to have self closing xhtml.
|
2007-12-21 05:47:33 +00:00 |
|
Brandon Aaron
|
c73eadf599
|
Fixed memory leak in IE with non-native event types
|
2007-12-21 04:53:33 +00:00 |
|
Brandon Aaron
|
fde3d616ac
|
Removed check to prevent event from being fixed twice. Unfortunately, in IE this is sometimes necessary with its global event object. Binding both a mousedown and mousemove event is an example.
|
2007-12-21 02:11:26 +00:00 |
|
David Serduke
|
50c40add5a
|
Fixed a couple problems found in the test suite. First, IE doesn't like it when text nodes were trying to duplicate their events in clone, so don't do text nodes (that shouldn't have events anyway). Also the fx module was freezing from a recent update that wasn't quite finished.
|
2007-12-20 20:40:20 +00:00 |
|
Brandon Aaron
|
bdd6aca209
|
Fixing #2081
|
2007-12-20 19:31:02 +00:00 |
|
David Serduke
|
1764027370
|
Fixed #2080 by removing the check for nodeType != 1. It was put in to limit the queuing to just dom objects (ie not text nodes and comment nodes), but the queuing functionality is being used more broadly than I realized so the check is now removed.
|
2007-12-20 18:55:43 +00:00 |
|
John Resig
|
3261544c38
|
Fixed #2027 - make sure that cloned elements (within appendTo, etc.) have their events cloned by default.
|
2007-12-20 13:36:56 +00:00 |
|
David Serduke
|
0419455473
|
Changed the $(document).ready() code to try and solve some problems in Safari, Opera, and IE.
|
2007-12-20 06:00:01 +00:00 |
|
Brandon Aaron
|
e2fc993334
|
offset: make sure there is a parent node to work on while calculating scroll offsets (#2073)
|
2007-12-19 19:07:12 +00:00 |
|
Brandon Aaron
|
add0681f90
|
offset: make sure border width always gets calculated in pixels
|
2007-12-19 19:05:34 +00:00 |
|
David Serduke
|
be9302b710
|
Fixed #2077 by adding a var to make it a local variable instead of initializing a global one.
|
2007-12-19 18:47:01 +00:00 |
|
Brandon Aaron
|
a7dfbb55d9
|
Short-circuit jQuery.event.fix if it has already fixed the current event object.
|
2007-12-19 18:35:58 +00:00 |
|
Brandon Aaron
|
b32ec31d89
|
Insure width/height do not return a negative number.
|
2007-12-19 18:23:46 +00:00 |
|
David Serduke
|
3bb82a34de
|
Second part of the fix for #2071. An empty string "" was being sent to .bind() and when the events were being cleared it went in to an infinite recursive loop till memory was out. The test was !types in the function and changing it to types == undefined fixed the error.
|
2007-12-19 01:48:05 +00:00 |
|
David Serduke
|
1d7b7b94ef
|
Changed CRLF end of lines to just LF. Other than that there were no changes in this commit. Try svn diff -x --ignore-eol-style -r 4224:4225 to see that.
|
2007-12-19 01:10:20 +00:00 |
|
David Serduke
|
7ef40fd199
|
Fixed #2076 where .val() could return an array instead of undefined when the jquery object was empty. The bug was created during the .val() refactoring for the javascript strict FF ticket.
|
2007-12-18 17:19:33 +00:00 |
|
Brandon Aaron
|
fc51e14b81
|
width and height methods are now working properly
|
2007-12-18 03:53:09 +00:00 |
|
Richard Worth
|
76c1889e22
|
Fixed #1887 - trigger fails if extra is not a function
|
2007-12-18 03:13:39 +00:00 |
|
David Serduke
|
24e036c7c8
|
Fixed #2070 by adding a test for !nodeType to isArrayLike so DOM elements like SELECT are not considered array-like (even though they really are).
|
2007-12-17 21:02:05 +00:00 |
|
Brandon Aaron
|
d1b9ad3cdb
|
Fixed #2069. The ready helper and shortcuts act the same. You can also still bind, unbind and trigger the ready event on the document element but doing so follows the events API unlike the ready helper method.
|
2007-12-17 20:22:53 +00:00 |
|
David Serduke
|
90b25efa6c
|
Fixed #2062 by adding a check to see if the selector is array-like in .not() before testing it as an array. Otherwise it does a straight comparison during the filter test.
|
2007-12-17 16:54:44 +00:00 |
|
Brandon Aaron
|
d7f5a0835b
|
Fixed #2064
|
2007-12-17 14:37:26 +00:00 |
|
David Serduke
|
6496e4d9c4
|
Fixed #2037 where Opera would mis-state the value of 'display' after an innerHTML was done in some cases.
|
2007-12-17 01:58:05 +00:00 |
|
David Serduke
|
9af7387579
|
Added code to remove the script tag on successful jsonp calls.
|
2007-12-17 00:51:59 +00:00 |
|
John Resig
|
6a25c20f5c
|
The extra & was getting gobbled, oops.
|
2007-12-17 00:48:12 +00:00 |
|
John Resig
|
b721a2f472
|
Added a fix for bug #2020 - if you want to do data: {callback: "?"}, do jsonp: "callback" instead.
|
2007-12-17 00:44:00 +00:00 |
|
Brandon Aaron
|
45e4a52cdd
|
Cleaned up mouseenter and mouseleave special events
|
2007-12-16 22:18:35 +00:00 |
|
David Serduke
|
859aa6c9df
|
Changed window.frameElement to window == top because of some access denied errors when the iframe wasn't same origin.
|
2007-12-16 10:33:38 +00:00 |
|
David Serduke
|
97e98591aa
|
Added code so an iframe in IE won't count on doScroll to determine if the dom is ready. We will probably have to do more investigation on a better (and consistant) method for inside an iframe in IE.
|
2007-12-16 10:08:53 +00:00 |
|
Brandon Aaron
|
7a6978b324
|
Renaming variables to be more consistent
|
2007-12-16 04:09:53 +00:00 |
|
David Serduke
|
feb9051c0e
|
Fixed #1781 for warnings created on load by FF javascript.options.strict == true.
|
2007-12-16 01:03:50 +00:00 |
|