aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #2027 - make sure that cloned elements (within appendTo, etc.) have ↵John Resig2007-12-201-1/+1
| | | | their events cloned by default.
* Changed the $(document).ready() code to try and solve some problems in ↵David Serduke2007-12-201-8/+39
| | | | Safari, Opera, and IE.
* offset: make sure there is a parent node to work on while calculating scroll ↵Brandon Aaron2007-12-191-1/+1
| | | | offsets (#2073)
* offset: make sure border width always gets calculated in pixelsBrandon Aaron2007-12-191-1/+1
|
* Fixed #2077 by adding a var to make it a local variable instead of ↵David Serduke2007-12-191-1/+2
| | | | initializing a global one.
* Short-circuit jQuery.event.fix if it has already fixed the current event object.Brandon Aaron2007-12-191-0/+7
|
* Insure width/height do not return a negative number.Brandon Aaron2007-12-191-1/+1
|
* Second part of the fix for #2071. An empty string "" was being sent to ↵David Serduke2007-12-191-1/+1
| | | | .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.
* Changed CRLF end of lines to just LF. Other than that there were no changes ↵David Serduke2007-12-191-536/+536
| | | | in this commit. Try svn diff -x --ignore-eol-style -r 4224:4225 to see that.
* Fixed #2076 where .val() could return an array instead of undefined when the ↵David Serduke2007-12-181-0/+1
| | | | jquery object was empty. The bug was created during the .val() refactoring for the javascript strict FF ticket.
* width and height methods are now working properlyBrandon Aaron2007-12-181-7/+13
|
* Fixed #1887 - trigger fails if extra is not a functionRichard Worth2007-12-181-536/+536
|
* Fixed #2070 by adding a test for !nodeType to isArrayLike so DOM elements ↵David Serduke2007-12-171-4/+2
| | | | like SELECT are not considered array-like (even though they really are).
* Fixed #2069. The ready helper and shortcuts act the same. You can also still ↵Brandon Aaron2007-12-171-40/+78
| | | | bind, unbind and trigger the ready event on the document element but doing so follows the events API unlike the ready helper method.
* Fixed #2062 by adding a check to see if the selector is array-like in .not() ↵David Serduke2007-12-171-1/+4
| | | | before testing it as an array. Otherwise it does a straight comparison during the filter test.
* Fixed #2064Brandon Aaron2007-12-171-1/+1
|
* Fixed #2037 where Opera would mis-state the value of 'display' after an ↵David Serduke2007-12-171-0/+6
| | | | innerHTML was done in some cases.
* Added code to remove the script tag on successful jsonp calls.David Serduke2007-12-171-0/+2
|
* The extra & was getting gobbled, oops.John Resig2007-12-171-2/+2
|
* Added a fix for bug #2020 - if you want to do data: {callback: "?"}, do ↵John Resig2007-12-171-1/+1
| | | | jsonp: "callback" instead.
* Cleaned up mouseenter and mouseleave special eventsBrandon Aaron2007-12-161-20/+12
|
* Changed window.frameElement to window == top because of some access denied ↵David Serduke2007-12-161-1/+1
| | | | errors when the iframe wasn't same origin.
* Added code so an iframe in IE won't count on doScroll to determine if the ↵David Serduke2007-12-161-1/+1
| | | | dom is ready. We will probably have to do more investigation on a better (and consistant) method for inside an iframe in IE.
* Renaming variables to be more consistentBrandon Aaron2007-12-161-37/+37
|
* Fixed #1781 for warnings created on load by FF javascript.options.strict == ↵David Serduke2007-12-165-36/+43
| | | | true.
* Added feature #1934 by allowing script.charset to be set through an optional ↵David Serduke2007-12-151-0/+2
| | | | 'scriptCharset' ajax option.
* new special events api, ready is now a first class event that you can use ↵Brandon Aaron2007-12-151-170/+193
| | | | bind, unbind or the ready helper, two new events: mouseenter and mouseleave, the hover helper method now uses mouseenter and mouseleave, bind and unbind can now take a space sperated list of event types
* Fixed #2046 by forcing the dataType to 'html' in the .load() function.David Serduke2007-12-141-0/+1
|
* Added an extra try block to handle FF 3 x-domain requests. (Bug #1557)John Resig2007-12-141-9/+12
|
* Added some improvements to changes made in [4143] for #1854.John Resig2007-12-132-14/+11
|
* Fixed #1854 by using wizzud's suggestion. The only real difference is the ↵David Serduke2007-12-132-10/+20
| | | | code is only called when there is more than a single selector. So there should be no speed decrease in the current working cases. Only additional functionality for cases that used to fail.
* Getting the width and height of the document now returns the correct value ↵Brandon Aaron2007-12-131-2/+5
| | | | in all browsers. It even works around the scrollWidth == offsetWidth bug in Firefox thanks to wizzud.
* Fixed #1750 by adding a url that starts with "//" and is a dataType "script" ↵David Serduke2007-12-121-1/+1
| | | | will now use a cross domain load the same as urls that start with "http".
* Added more unit tests for offset. Fixed an offset issue relating to table ↵Brandon Aaron2007-12-121-12/+8
| | | | header cells in Opera
* Fixed a bug in clone where it wouldn't work on an XML node in IE. Also ↵David Serduke2007-12-121-1/+1
| | | | added unit test for it.
* Fix #1987 by only doing remote <script> type ajax with GET requests. All ↵David Serduke2007-12-111-2/+2
| | | | other types will be passed on to XMLHttpRequest.
* Greatly reduced the complexity of the width/height methods. This also fixes ↵Brandon Aaron2007-12-111-47/+14
| | | | #2009, #1870, #1796, #1843, #1839, #1818, #1613, #1415 and #1629
* Fix for #2032Brandon Aaron2007-12-111-1/+1
|
* Fixed #1959 by postponing ALL script evaluations till the html insertion is ↵David Serduke2007-12-101-9/+2
| | | | done. Before the code would immediately execute any scripts that weren't in subelements if no subelements prior had scripts in them (i.e. once any script was postponed they all were). This could cause inconsistent behavior. Since, at this time, we have to postpone some scripts it makes more sense to postpone them all.
* Added a change that triples the speed of all uses of $(...). For example ↵John Resig2007-12-101-4/+5
| | | | $(DOMElement) was 38ms, is now 13ms.
* Fixed clone so that it now properly copies changes to the innerHTML in IE. ↵Brandon Aaron2007-12-081-3/+17
| | | | Unfortunately, IE stores some modifications to some attributes only as a property and they are still not copied properly. This is documented in ticket #1836.
* show is now element aware (#960)Brandon Aaron2007-12-081-6/+7
|
* Fix for #1486. Prevent IE from throwing an error when triggering focus on ↵Brandon Aaron2007-12-081-1/+4
| | | | hidden input.
* Fixed #1039 and #1733 by going through the core API and making them text ↵David Serduke2007-12-074-14/+42
| | | | node and comment node safe.
* Fix for #2002Jörn Zaefferer2007-12-061-1/+1
|
* A partial rollback of the refactoring done in [4032]. It was causing a 4-6% ↵David Serduke2007-12-051-5/+6
| | | | | | | speed decrease on certain hierarchy selectors ( > + and ~ ) since it did an extra .toUpperCase() which wasn't required. The part left in was moving one of the .toUpperCase() calls to the var nodeName instead of having it in the loop. This appears to be giving a speed boost of a couple percent for those same hierarchy selectors.
* Refactored jQuery.find() such that jQuery.nodeName() is used to test the ↵David Serduke2007-12-051-3/+3
| | | | node names like .filter() and other functions do. This puts in place possible fixes for tickets like #1991 where XML and HTML differ in case-sensitivity.
* Fixed #1419 where IE failed with .text() on an XML node. This is part of a ↵David Serduke2007-12-051-1/+2
| | | | series of tickets including #1264 where the context of the DOM manipulation was a problem in xml and iframe documents.
* Fixed #1264. If you read the bug there were many proposed changes. As it ↵David Serduke2007-12-051-2/+2
| | | | | | | turned out most of them had already been implemented. The last ones necessary were in .domManip() with when a <table> was 'this' and for .text(). Adding these last changes seems to make dom and text manipulation in IE frames possible. Unit test cases were added as well. In addition "submit.gif" was removed from the test suite index.html since it didn't exist.
* offset now uses clientLeft and clientTop instead of calculating html border ↵Brandon Aaron2007-12-041-6/+5
| | | | in IE