jquery.git
16 years agonew special events api, ready is now a first class event that you can use bind, unbin...
Brandon Aaron [Sat, 15 Dec 2007 05:55:33 +0000 (05:55 +0000)]
new special events api, ready is now a first class event that you can use 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

16 years agoDon't remove test directory on clean
Brandon Aaron [Fri, 14 Dec 2007 18:59:47 +0000 (18:59 +0000)]
Don't remove test directory on clean

16 years agoFixed #2046 by forcing the dataType to 'html' in the .load() function.
David Serduke [Fri, 14 Dec 2007 17:06:41 +0000 (17:06 +0000)]
Fixed #2046 by forcing the dataType to 'html' in the .load() function.

16 years agoAdded an extra try block to handle FF 3 x-domain requests. (Bug #1557)
John Resig [Fri, 14 Dec 2007 02:04:00 +0000 (02:04 +0000)]
Added an extra try block to handle FF 3 x-domain requests. (Bug #1557)

16 years agoAdded a test case for $("<option>test</option>")[0].selected (bug #2050).
John Resig [Fri, 14 Dec 2007 01:57:29 +0000 (01:57 +0000)]
Added a test case for $("<option>test</option>")[0].selected (bug #2050).

16 years agoAdded some improvements to changes made in [4143] for #1854.
John Resig [Thu, 13 Dec 2007 22:58:59 +0000 (22:58 +0000)]
Added some improvements to changes made in [4143] for #1854.

16 years agoFixed #1854 by using wizzud's suggestion. The only real difference is the code is...
David Serduke [Thu, 13 Dec 2007 22:24:59 +0000 (22:24 +0000)]
Fixed #1854 by using wizzud's suggestion.  The only real difference is the 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.

16 years agoGetting the width and height of the document now returns the correct value in all...
Brandon Aaron [Thu, 13 Dec 2007 03:46:48 +0000 (03:46 +0000)]
Getting the width and height of the document now returns the correct value in all browsers. It even works around the scrollWidth == offsetWidth bug in Firefox thanks to wizzud.

16 years agoFixed #1750 by adding a url that starts with "//" and is a dataType "script" will...
David Serduke [Wed, 12 Dec 2007 20:54:44 +0000 (20:54 +0000)]
Fixed #1750 by adding a url that starts with "//" and is a dataType "script" will now use a cross domain load the same as urls that start with "http".

16 years agoAdded more unit tests for offset. Fixed an offset issue relating to table header...
Brandon Aaron [Wed, 12 Dec 2007 16:55:55 +0000 (16:55 +0000)]
Added more unit tests for offset. Fixed an offset issue relating to table header cells in Opera

16 years agoFixed a bug in clone where it wouldn't work on an XML node in IE. Also added unit...
David Serduke [Wed, 12 Dec 2007 01:32:35 +0000 (01:32 +0000)]
Fixed a bug in clone where it wouldn't work on an XML node in IE.  Also added unit test for it.

16 years agoFix #1987 by only doing remote <script> type ajax with GET requests. All other types...
David Serduke [Tue, 11 Dec 2007 20:16:19 +0000 (20:16 +0000)]
Fix #1987 by only doing remote <script> type ajax with GET requests.  All other types will be passed on to XMLHttpRequest.

16 years agoGreatly reduced the complexity of the width/height methods. This also fixes #2009...
Brandon Aaron [Tue, 11 Dec 2007 04:40:54 +0000 (04:40 +0000)]
Greatly reduced the complexity of the width/height methods. This also fixes #2009, #1870, #1796, #1843, #1839, #1818, #1613, #1415 and #1629

16 years agoFix for #2032
Brandon Aaron [Tue, 11 Dec 2007 03:17:44 +0000 (03:17 +0000)]
Fix for #2032

16 years agoFixed #1959 by postponing ALL script evaluations till the html insertion is done...
David Serduke [Mon, 10 Dec 2007 19:04:59 +0000 (19:04 +0000)]
Fixed #1959 by postponing ALL script evaluations till the html insertion is 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.

16 years agoAdded a change that triples the speed of all uses of $(...). For example $(DOMElement...
John Resig [Mon, 10 Dec 2007 01:45:03 +0000 (01:45 +0000)]
Added a change that triples the speed of all uses of $(...). For example $(DOMElement) was 38ms, is now 13ms.

16 years agoFixed clone so that it now properly copies changes to the innerHTML in IE. Unfortuna...
Brandon Aaron [Sat, 8 Dec 2007 23:03:10 +0000 (23:03 +0000)]
Fixed clone so that it now properly copies changes to the  innerHTML in IE. 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.

16 years agoshow is now element aware (#960)
Brandon Aaron [Sat, 8 Dec 2007 04:54:53 +0000 (04:54 +0000)]
show is now element aware (#960)

16 years agoFix for #1486. Prevent IE from throwing an error when triggering focus on hidden...
Brandon Aaron [Sat, 8 Dec 2007 02:54:09 +0000 (02:54 +0000)]
Fix for #1486. Prevent IE from throwing an error when triggering focus on hidden input.

16 years agoFixed #1039 and #1733 by going through the core API and making them text node and...
David Serduke [Fri, 7 Dec 2007 01:52:21 +0000 (01:52 +0000)]
Fixed #1039 and #1733 by going through the core API and making them text node and comment node safe.

16 years agoAdded ajax error messages in the unit test suite because Safari was sometimes tossing...
David Serduke [Thu, 6 Dec 2007 23:23:10 +0000 (23:23 +0000)]
Added ajax error messages in the unit test suite because Safari was sometimes tossing errors that were being ignored and that caused a freeze in the test suite.

16 years agoFix for #2002
Jörn Zaefferer [Thu, 6 Dec 2007 19:51:00 +0000 (19:51 +0000)]
Fix for #2002

16 years agoSafari sometimes stops in the test suite on the ajax section when I run the whole...
David Serduke [Wed, 5 Dec 2007 23:03:58 +0000 (23:03 +0000)]
Safari sometimes stops in the test suite on the ajax section when I run the whole suite and its running on my local machine.  I went ahead and put better error detection in for the test that is the culprit so it will keep going.  It seems to do fine if I run it from a server.  It gives xml.status as 0.  Maybe this is the reason pearweb.com/javascript/XMLHttpRequest.html

16 years agoA partial rollback of the refactoring done in [4032]. It was causing a 4-6% speed...
David Serduke [Wed, 5 Dec 2007 21:23:07 +0000 (21:23 +0000)]
A partial rollback of the refactoring done in [4032]. It was causing a 4-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.

16 years agoFixed the build/speed testing application to work with current versions of jQuery...
David Serduke [Wed, 5 Dec 2007 17:33:49 +0000 (17:33 +0000)]
Fixed the build/speed testing application to work with current versions of jQuery. The main changes were implementing :has() where necessary to replace functionality that no longer existed and to use noConflict() so the libraries wouldn't have to be modified for the speed testing.

So now the file jquery-basis.js will be tested against the jquery.js in the /dist directory. Version 1.2.1 is currently in jquery-basis.js.

16 years agoRefactored jQuery.find() such that jQuery.nodeName() is used to test the node names...
David Serduke [Wed, 5 Dec 2007 08:00:30 +0000 (08:00 +0000)]
Refactored jQuery.find() such that jQuery.nodeName() is used to test the 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.

16 years agoFixed #1419 where IE failed with .text() on an XML node. This is part of a series...
David Serduke [Wed, 5 Dec 2007 05:01:46 +0000 (05:01 +0000)]
Fixed #1419 where IE failed with .text() on an XML node.  This is part of a series of tickets including #1264 where the context of the DOM manipulation was a problem in xml and iframe documents.

16 years agoFixed #1264. If you read the bug there were many proposed changes. As it turned...
David Serduke [Wed, 5 Dec 2007 00:26:13 +0000 (00:26 +0000)]
Fixed #1264.  If you read the bug there were many proposed changes.  As it 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.

16 years agoAdded another relative offset test
Brandon Aaron [Tue, 4 Dec 2007 21:29:28 +0000 (21:29 +0000)]
Added another relative offset test

16 years agoAdded visual marker to absolute fixture for offset testing
Brandon Aaron [Tue, 4 Dec 2007 20:59:33 +0000 (20:59 +0000)]
Added visual marker to absolute fixture for offset testing

16 years agooffset now uses clientLeft and clientTop instead of calculating html border in IE
Brandon Aaron [Tue, 4 Dec 2007 20:54:23 +0000 (20:54 +0000)]
offset now uses clientLeft and clientTop instead of calculating html border in IE

16 years agoBeginnings of the offset test suite
Brandon Aaron [Tue, 4 Dec 2007 20:51:16 +0000 (20:51 +0000)]
Beginnings of the offset test suite

16 years agoFixed #1763 by checking to see if .createElement() is available on the context and...
David Serduke [Tue, 4 Dec 2007 19:37:03 +0000 (19:37 +0000)]
Fixed #1763 by checking to see if .createElement() is available on the context and if isn't default to other contexts.

16 years agoFixed #1438 where a filter could be set in IE but not have opacity in it. The JS...
David Serduke [Tue, 4 Dec 2007 18:15:27 +0000 (18:15 +0000)]
Fixed #1438 where a filter could be set in IE but not have opacity in it. The JS error was fixed by checking to make sure 'opacity=' is in the filter before seeing what its value is.

16 years agofixed jsdoc for equals
Jörn Zaefferer [Tue, 4 Dec 2007 16:42:42 +0000 (16:42 +0000)]
fixed jsdoc for equals

16 years agoFor fix #1999 changed the RegExp to be non-greedy. Thanks emartin24.
David Serduke [Tue, 4 Dec 2007 07:36:03 +0000 (07:36 +0000)]
For fix #1999 changed the RegExp to be non-greedy. Thanks emartin24.

16 years agoFixed #1999 by replacing the 'no-cache' parameter if it is there instead of just...
David Serduke [Tue, 4 Dec 2007 04:43:45 +0000 (04:43 +0000)]
Fixed #1999 by replacing the 'no-cache' parameter if it is there instead of just appending.

16 years agoThere was a disabled test in the ajax test suite which said there were too many simul...
David Serduke [Tue, 4 Dec 2007 01:51:07 +0000 (01:51 +0000)]
There was a disabled test in the ajax test suite which said there were too many simultainous requests.  I re-enabled it when I found a bug that might have been the cause of the failure instead and it seems to work fine.  We can disable it again if that ends up not being the case.

16 years agoFixed [1993] although it actually wasn't a bug in the core but rather a misunderstand...
David Serduke [Mon, 3 Dec 2007 21:41:10 +0000 (21:41 +0000)]
Fixed [1993] although it actually wasn't a bug in the core but rather a misunderstanding of how the extra function was supposed to work in jQuery.event.trigger().  That said, it seems more useful and robust for the code to work the way the ticket author thought it should work so this change was made.

Now, if anything is returned from the extra function it will overwrite the return value of the event handlers.  This should only effect custom events unless someone had an extra function that returned a value other than false which would have been ignored before.

16 years agoChanged version to 1.2.2-pre.
John Resig [Fri, 30 Nov 2007 23:37:34 +0000 (23:37 +0000)]
Changed version to 1.2.2-pre.

16 years agoAdded enchancement for #1994 by adding two parameters to .stop() which give additiona...
David Serduke [Fri, 30 Nov 2007 21:36:49 +0000 (21:36 +0000)]
Added enchancement for #1994 by adding two parameters to .stop() which give additional functionality.  The first parameter clearQueue will clear the queue on the necessary DOM elements so all animation will stop.  The second parameter will cause the currently playing animation to immediately complete including reseting original styles on show and hide and calling the callback function.  If no parameters are passed it will work as it always did.

While adding unit testing I noticed the stop() unit test wasn't working correctly because the element was hidden so I fixed it and added more unit tests around the new functionality.  I also added a cursor:pointer to the css (because for a long time I didn't know they were clickable).

16 years agoFixed a problem with changeset [3841] where a function could no longer be .extend...
David Serduke [Fri, 30 Nov 2007 08:39:49 +0000 (08:39 +0000)]
Fixed a problem with changeset [3841] where a function could no longer be .extend()-ed.

16 years agoRemoved comments and code related to Safari being unable to do a sync global eval...
David Serduke [Fri, 30 Nov 2007 02:42:48 +0000 (02:42 +0000)]
Removed comments and code related to Safari being unable to do a sync global eval.  With the new globalEval() code that should no longer be a problem.

16 years agoFixed #1557, although it doesn't appear to be just an FF3 problem. In this case,...
David Serduke [Thu, 29 Nov 2007 19:07:20 +0000 (19:07 +0000)]
Fixed #1557, although it doesn't appear to be just an FF3 problem. In this case, $.getJSON() wasn't working from a remote host. I went ahead and added a unit test then added the s.dataType == "json" test for a remote <script> load.  The said that json was allowed but the dataType check was missing. This appears to have fixed the bug across all browsers.

16 years agoFixed #1450 by returning 1223 as success. Couldn't normalize the status since jquery...
David Serduke [Thu, 29 Nov 2007 17:12:08 +0000 (17:12 +0000)]
Fixed #1450 by returning 1223 as success.  Couldn't normalize the status since jquery uses the actual xmlhttprequest object.

16 years agoBack out one of the changes from the previous commit that wasn't necessary to fix...
David Serduke [Wed, 28 Nov 2007 23:53:54 +0000 (23:53 +0000)]
Back out one of the changes from the previous commit that wasn't necessary to fix the bug and might not be desired.

16 years agoFixed #1908 by testing to make sure it isn't null before checking the nodeType.
David Serduke [Wed, 28 Nov 2007 23:42:16 +0000 (23:42 +0000)]
Fixed #1908 by testing to make sure it isn't null before checking the nodeType.

16 years agoFixed #1070 by converting all setAttribute() values to a string which is what all...
David Serduke [Wed, 28 Nov 2007 23:13:59 +0000 (23:13 +0000)]
Fixed #1070 by converting all setAttribute() values to a string which is what all browsers but IE did.  This will bring IE in line with the others and fix the bug.

16 years agoFixed #1701 by passing through the arguments as suggested.
David Serduke [Wed, 28 Nov 2007 22:23:40 +0000 (22:23 +0000)]
Fixed #1701 by passing through the arguments as suggested.

16 years agoFixed #1714 by adding a default empty string if the value is falsey.
David Serduke [Wed, 28 Nov 2007 16:38:34 +0000 (16:38 +0000)]
Fixed #1714 by adding a default empty string if the value is falsey.

16 years agoFixed #1599 as Brandon suggested to ignore negative values to width and height css...
David Serduke [Wed, 28 Nov 2007 01:01:49 +0000 (01:01 +0000)]
Fixed #1599 as Brandon suggested to ignore negative values to width and height css.  The fix itself is slightly different as it was moved to .css() instead of staying in .attr() like in his patch.  I decided there was less chance of incorrect behavior (like if someone had an XML file with a width attribute that could be negative).  Also took out some unneeded white space while I was in there.

16 years agoFixed #1942 but running jQuery.css() before jQuery.curCSS(). This way when the prope...
David Serduke [Tue, 27 Nov 2007 23:58:07 +0000 (23:58 +0000)]
Fixed #1942 but running jQuery.css() before jQuery.curCSS().  This way when the property is width or height it gets the values through calculation instead of just css first. This appears to fix the problem in Opera without hurting any of the other browsers.

16 years agoFixed #1970 by returning true instead of false when the mouse moves over a sub-elemen...
David Serduke [Tue, 27 Nov 2007 19:20:36 +0000 (19:20 +0000)]
Fixed #1970 by returning true instead of false when the mouse moves over a sub-element.  The side effect is the event will not stop default behavior and will propagate which it didn't used to.  I could find no compelling reason to stop those things from happening.

16 years agoAdded a quick shortcut to improve the speed of $(DOMElement) by over 2x.
John Resig [Tue, 27 Nov 2007 01:03:49 +0000 (01:03 +0000)]
Added a quick shortcut to improve the speed of $(DOMElement) by over 2x.

16 years agoFix for #1933
Brandon Aaron [Mon, 19 Nov 2007 16:15:51 +0000 (16:15 +0000)]
Fix for #1933

16 years agoFix for #1944. Added nodeName and tagName to jQuery.props and tests for maxlength...
Brandon Aaron [Mon, 19 Nov 2007 16:07:44 +0000 (16:07 +0000)]
Fix for #1944. Added nodeName and tagName to jQuery.props and tests for maxlength, defaultValue, selectedIndex, tagName and nodeName.

16 years agoSlightly altered a test that was causing IE7 in some cases to hard crash. The test...
David Serduke [Sun, 18 Nov 2007 00:46:58 +0000 (00:46 +0000)]
Slightly altered a test that was causing IE7 in some cases to hard crash.  The test was setting .html() to many divs, some of which were inside other divs effectly deleting them from the DOM. I suspect this caused some instability and may only have been an IE7 with IEDevBar issue.  The test still correctly tests the functionality of that unit test.

16 years agoFixed #1074 where .html() was incorrectly changing the selected value of an option.
David Serduke [Sat, 17 Nov 2007 22:09:51 +0000 (22:09 +0000)]
Fixed #1074 where .html() was incorrectly changing the selected value of an option.

16 years agoChanged core.js from CRLF to LF eol style to match the rest of the source files....
David Serduke [Sat, 17 Nov 2007 04:36:50 +0000 (04:36 +0000)]
Changed core.js from CRLF to LF eol style to match the rest of the source files. This was the only change for this changeset.  To see it try: 'svn diff -x --ignore-eol-style -r 3841:3842' and there will be no diffs. (actual revision numbers are an educated guess)

16 years agoFix #1907 where the never-ending loop prevention used a coersion comparison which...
David Serduke [Sat, 17 Nov 2007 04:25:22 +0000 (04:25 +0000)]
Fix #1907 where the never-ending loop prevention used a coersion comparison which sometimes dropped values incorrectly.  Also fixed a bug where on deep copies the target copied over itself (i = 2 addition).  Last made code handle the case when a property might have a string in it that should be overwritten by an object.

16 years agoFix #1905 bug where in IE the use of RegExp.test() was failing and needed to be repla...
David Serduke [Fri, 16 Nov 2007 23:54:45 +0000 (23:54 +0000)]
Fix #1905 bug where in IE the use of RegExp.test() was failing and needed to be replaced with String.match().

16 years agoFixed #1095 bug where radio buttons became unchecked during show(). Also added unit...
David Serduke [Fri, 16 Nov 2007 23:39:23 +0000 (23:39 +0000)]
Fixed #1095 bug where radio buttons became unchecked during show(). Also added unit test and had to fix a selector test that was broken by the new testing div in test/index.html. Last made some whitespace changes.

16 years agoFix #1827 bug where extra setInterval()s can be called during animation.
David Serduke [Fri, 16 Nov 2007 21:50:27 +0000 (21:50 +0000)]
Fix #1827 bug where extra setInterval()s can be called during animation.

16 years agoFixed #1727 bug where :nth-child() was non-standard with CSS3 plus two minor white...
David Serduke [Fri, 16 Nov 2007 19:01:53 +0000 (19:01 +0000)]
Fixed #1727 bug where :nth-child() was non-standard with CSS3 plus two minor white space changes in selector.js.

16 years agoFixed #1822 bug where queue() didn't always default to type 'fx'.
David Serduke [Fri, 16 Nov 2007 18:23:59 +0000 (18:23 +0000)]
Fixed #1822 bug where queue() didn't always default to type 'fx'.

16 years agoFix for #1823 bug in animate {queue:false} plus a unit test.
David Serduke [Fri, 16 Nov 2007 17:49:12 +0000 (17:49 +0000)]
Fix for #1823 bug in animate {queue:false} plus a unit test.

16 years agoFix for #1925 and removed some unnecessary browser sniffing
Brandon Aaron [Wed, 14 Nov 2007 21:55:45 +0000 (21:55 +0000)]
Fix for #1925 and removed some unnecessary browser sniffing

16 years agoFix for #1911
Brandon Aaron [Wed, 14 Nov 2007 15:06:48 +0000 (15:06 +0000)]
Fix for #1911

16 years agoFix for #1893
Brandon Aaron [Wed, 14 Nov 2007 04:51:53 +0000 (04:51 +0000)]
Fix for #1893

17 years agoAdded a check to make sure a parent node exists in call remove() to avoid errors...
David Serduke [Mon, 5 Nov 2007 18:49:00 +0000 (18:49 +0000)]
Added a check to make sure a parent node exists in call remove() to avoid errors as seen in bug #1742.

17 years agoSpelling mistake.
John Resig [Sat, 20 Oct 2007 22:08:03 +0000 (22:08 +0000)]
Spelling mistake.

17 years agoAdded a fix for .noConflict(true) not reverting properly. Also added unit tests for...
John Resig [Sat, 20 Oct 2007 22:04:06 +0000 (22:04 +0000)]
Added a fix for .noConflict(true) not reverting properly. Also added unit tests for noConflict.

17 years agoOk, self[...] was BS, switching to window[...], bug #1748.
John Resig [Thu, 18 Oct 2007 17:25:08 +0000 (17:25 +0000)]
Ok, self[...] was BS, switching to window[...], bug #1748.

17 years agoAdded a fix for bug #1751, where the options getting overwritten for an animation...
John Resig [Thu, 18 Oct 2007 00:30:37 +0000 (00:30 +0000)]
Added a fix for bug #1751, where the options getting overwritten for an animation was causing issues.

17 years agoFix for bug #1638, where a non-string data could break an Ajax request.
John Resig [Thu, 18 Oct 2007 00:07:45 +0000 (00:07 +0000)]
Fix for bug #1638, where a non-string data could break an Ajax request.

17 years agoFix for bug #1546 where a deep copy was attempted of DOM elements (which isn't needed).
John Resig [Wed, 17 Oct 2007 23:35:57 +0000 (23:35 +0000)]
Fix for bug #1546 where a deep copy was attempted of DOM elements (which isn't needed).

17 years agoAnother fix for bug #1584, ajaxStop would not be called for a cross-domain request...
John Resig [Wed, 17 Oct 2007 23:13:31 +0000 (23:13 +0000)]
Another fix for bug #1584, ajaxStop would not be called for a cross-domain request if a handler was not provided.

17 years agoAdded a fix for bug #1698, in which injected scripts were executed out of order,...
John Resig [Wed, 17 Oct 2007 22:42:12 +0000 (22:42 +0000)]
Added a fix for bug #1698, in which injected scripts were executed out of order, in relation to the DOM.

17 years agoFrom a suggestion by Diego, moved the jQuery.ready() call outside of the try{}catch...
John Resig [Mon, 15 Oct 2007 17:55:54 +0000 (17:55 +0000)]
From a suggestion by Diego, moved the jQuery.ready() call outside of the try{}catch() block for IE/Safari DOM Ready.

17 years agoFixed .val(String) for select elements (#1760) [Thanks Sam]
Brandon Aaron [Fri, 12 Oct 2007 12:51:07 +0000 (12:51 +0000)]
Fixed .val(String) for select elements (#1760) [Thanks Sam]

17 years agoFix for #1779
Jörn Zaefferer [Fri, 12 Oct 2007 09:46:48 +0000 (09:46 +0000)]
Fix for #1779

17 years agoFix normalization of pageX and pageY event properties in IE (#1571). Thanks wizzud.
Brandon Aaron [Sat, 6 Oct 2007 21:00:37 +0000 (21:00 +0000)]
Fix normalization of pageX and pageY event properties in IE (#1571). Thanks wizzud.

17 years agoFixes memory leaks relating to events in IE with page unload and with jQuery methods...
Brandon Aaron [Sat, 6 Oct 2007 17:04:20 +0000 (17:04 +0000)]
Fixes memory leaks relating to events in IE with page unload and with jQuery methods remove, html and empty (#1610, #1618, #1697 and #1731). Also re-worked variable names to be more consistent with the core.

17 years agoFix regression in add and append in IE after revision 3463
Brandon Aaron [Sat, 6 Oct 2007 16:45:20 +0000 (16:45 +0000)]
Fix regression in add and append in IE after revision 3463

17 years agoA fix for bug #1443, where globalEval occurred asynchronously in Safari 2, provided...
John Resig [Mon, 1 Oct 2007 20:15:20 +0000 (20:15 +0000)]
A fix for bug #1443, where globalEval occurred asynchronously in Safari 2, provided by Andrea Giammarchi.

17 years agoSafari 2 was having problems with the syntax used for the ready handling.
John Resig [Mon, 1 Oct 2007 14:14:09 +0000 (14:14 +0000)]
Safari 2 was having problems with the syntax used for the ready handling.

17 years agoFixed the attribution for the DOM Ready fix - the previously used changes weren't...
John Resig [Thu, 27 Sep 2007 20:49:30 +0000 (20:49 +0000)]
Fixed the attribution for the DOM Ready fix - the previously used changes weren't significant.

17 years agoFix for #1153
Brandon Aaron [Thu, 27 Sep 2007 18:09:23 +0000 (18:09 +0000)]
Fix for #1153

17 years agoConverted jQuery to use the new DOM Ready technique (by checking scroll). A single...
John Resig [Thu, 27 Sep 2007 15:23:07 +0000 (15:23 +0000)]
Converted jQuery to use the new DOM Ready technique (by checking scroll). A single setTimeout loop is used for both IE and Safari now. Fixex bugs #1320 and #1561.

17 years agooffset: fixes for correct body offsets in safari and mozilla (thanks Wizzud)
Brandon Aaron [Wed, 26 Sep 2007 22:28:00 +0000 (22:28 +0000)]
offset: fixes for correct body offsets in safari and mozilla (thanks Wizzud)

17 years agoCompletely overhauled the syntax of core - re-worked variable names, formatting,...
John Resig [Sun, 23 Sep 2007 16:55:19 +0000 (16:55 +0000)]
Completely overhauled the syntax of core - re-worked variable names, formatting, comments, and some structure.

17 years agoDisabled the Ajax tests from running locally.
John Resig [Sun, 23 Sep 2007 15:58:49 +0000 (15:58 +0000)]
Disabled the Ajax tests from running locally.

17 years agooffset: added fixed position support and fixed opera issue with borders on absolute...
Brandon Aaron [Fri, 21 Sep 2007 21:41:56 +0000 (21:41 +0000)]
offset: added fixed position support and fixed opera issue with borders on absolute and relative parents

17 years agooffset: do not add borders for table cells
Brandon Aaron [Tue, 18 Sep 2007 18:08:35 +0000 (18:08 +0000)]
offset: do not add borders for table cells

17 years agoFixed #1474, setting selectedIndex
Brandon Aaron [Tue, 18 Sep 2007 14:35:41 +0000 (14:35 +0000)]
Fixed #1474, setting selectedIndex

17 years agoUse document.compatMode for quirks test in width/height method
Brandon Aaron [Tue, 18 Sep 2007 12:38:15 +0000 (12:38 +0000)]
Use document.compatMode for quirks test in width/height method

17 years agoFix width/height to work properly on window/document
Brandon Aaron [Mon, 17 Sep 2007 19:14:05 +0000 (19:14 +0000)]
Fix width/height to work properly on window/document

17 years agoremove box global var from offset
Brandon Aaron [Mon, 17 Sep 2007 18:20:51 +0000 (18:20 +0000)]
remove box global var from offset

17 years agoTagging the 1.2.1 release.
John Resig [Mon, 17 Sep 2007 03:42:06 +0000 (03:42 +0000)]
Tagging the 1.2.1 release.

17 years agoAdded fix for bug #1567 - uppercase nodeName test in .add().
John Resig [Sat, 15 Sep 2007 03:44:44 +0000 (03:44 +0000)]
Added fix for bug #1567 - uppercase nodeName test in .add().