jquery.git
17 years agoFixed a bug in .dir() where it would return non-element nodes.
John Resig [Mon, 10 Sep 2007 00:00:30 +0000 (00:00 +0000)]
Fixed a bug in .dir() where it would return non-element nodes.

17 years agoFixed spelling mistake.
John Resig [Sun, 9 Sep 2007 23:17:30 +0000 (23:17 +0000)]
Fixed spelling mistake.

17 years agoAdded an extra check for removing a named cache property - calling it when it didn...
John Resig [Sun, 9 Sep 2007 23:08:21 +0000 (23:08 +0000)]
Added an extra check for removing a named cache property - calling it when it didn't exist caused an exception.

17 years agoLanding a version of $(document)/$(window) .width()/.height(). It won't win any award...
John Resig [Sun, 9 Sep 2007 22:59:41 +0000 (22:59 +0000)]
Landing a version of $(document)/$(window) .width()/.height(). It won't win any awards, but it'll hold us over for this release.

17 years agoAdded .prevAll() and .nextAll() functionality.
John Resig [Sun, 9 Sep 2007 21:34:37 +0000 (21:34 +0000)]
Added .prevAll() and .nextAll() functionality.

17 years agoSo, apparently, I never committed the second half of the new field value code. This...
John Resig [Sun, 9 Sep 2007 19:00:56 +0000 (19:00 +0000)]
So, apparently, I never committed the second half of the new field value code. This allows you to set values on groups of checkboxes, radio buttons, and selects.

17 years agoFixed some line ending issues.
John Resig [Sun, 9 Sep 2007 18:29:15 +0000 (18:29 +0000)]
Fixed some line ending issues.

17 years agoErrors were occuring with getScript, if you called it too early.
John Resig [Sun, 9 Sep 2007 18:09:27 +0000 (18:09 +0000)]
Errors were occuring with getScript, if you called it too early.

17 years agoMoved the fx queueing over to the new expando system.
John Resig [Sun, 9 Sep 2007 16:17:32 +0000 (16:17 +0000)]
Moved the fx queueing over to the new expando system.

17 years ago.stop() wouldn't resume any queued animations.
John Resig [Sun, 9 Sep 2007 16:12:56 +0000 (16:12 +0000)]
.stop() wouldn't resume any queued animations.

17 years agoLanding the new expando management code. Completely overhauls how data is associated...
John Resig [Sat, 8 Sep 2007 23:31:23 +0000 (23:31 +0000)]
Landing the new expando management code. Completely overhauls how data is associated with elements.

Plugins will be most interested in:
- jQuery.data(elem) -> Unique ID for the element
- jQuery.data(elem, name) -> Named data store for the element
- jQuery.data(elem, name, value) -> Saves a value to the named data store
- jQuery.removeData(elem) -> Remove the expando and the complete data store
- jQuery.removeData(elem, name) -> Removes just this one named data store

jQuery's .remove() and .empty() automatically clean up after themselves. Once an element leaves a DOM document their events are no longer intact. Thus, statements like so:
{{{
  $("#foo").remove().appendTo("#bar");
}}}
should be written like so:
{{{
  $("#foo").appendTo("#bar");
}}}
in order to avoid losing the bound events.

17 years agoReintroduced .offset() as a default include, added original author credits.
John Resig [Sat, 8 Sep 2007 18:02:39 +0000 (18:02 +0000)]
Reintroduced .offset() as a default include, added original author credits.

17 years agoLanding the .clone() rewrite by Brandon (also includes the new event cloning function...
John Resig [Sat, 8 Sep 2007 16:19:34 +0000 (16:19 +0000)]
Landing the .clone() rewrite by Brandon (also includes the new event cloning functionality .clone(true)).

17 years agoDisabled the automatic inclusion of offset.js
John Resig [Sat, 8 Sep 2007 14:58:52 +0000 (14:58 +0000)]
Disabled the automatic inclusion of offset.js

17 years agoRemoved the test suite generation code.
John Resig [Sat, 8 Sep 2007 14:50:11 +0000 (14:50 +0000)]
Removed the test suite generation code.

17 years agoAdded the new .offset() method, directly imported from Dimensions (heavily worked...
John Resig [Sat, 8 Sep 2007 14:44:29 +0000 (14:44 +0000)]
Added the new .offset() method, directly imported from Dimensions (heavily worked over by both Brandon and John).

Original source:
http://brandonaaron.net/jquery/issues/dimensions/new_offset/jquery.offset.js

17 years agoAdded .hasClass() (Simply just passes through to .is()).
John Resig [Sat, 8 Sep 2007 13:49:42 +0000 (13:49 +0000)]
Added .hasClass() (Simply just passes through to .is()).

17 years agoFinished up some of the reorganization.
John Resig [Sat, 8 Sep 2007 12:46:01 +0000 (12:46 +0000)]
Finished up some of the reorganization.

17 years agoReorganzing the jQuery source (first phase).
John Resig [Sat, 8 Sep 2007 12:42:32 +0000 (12:42 +0000)]
Reorganzing the jQuery source (first phase).

17 years agoAdded a new :animated selector - only selects elements that are currently being animated.
John Resig [Sat, 8 Sep 2007 12:33:06 +0000 (12:33 +0000)]
Added a new :animated selector - only selects elements that are currently being animated.

17 years agoMassive FX rewrite. Full list of changes:
John Resig [Fri, 7 Sep 2007 21:57:40 +0000 (21:57 +0000)]
Massive FX rewrite. Full list of changes:
- You can now animate non-px values (em and %, for example)
- You can animate things things that previously broke (like font-size)
- You can now write fx plugins (to add in the ability to animate colors, for example)
- Advanced queueing controls were added (.queue(), .dequeue(), and {queue:false})
- Step was re-tooled to work with the new fx plugin scheme
- Added the ability to do relative animations
- Made it so that you can do simultaneous animations on a single element
- A complete refactoring of jQuery.fx, improving naming, and usability

17 years agoFix for bug #760 (fontSize returns different values in IE). This was part of a larger...
John Resig [Fri, 7 Sep 2007 21:39:44 +0000 (21:39 +0000)]
Fix for bug #760 (fontSize returns different values in IE). This was part of a larger issue where IE returned non-pixel values from it's computed style - this normalizes it (thanks to a fix by Dean Edwards).

17 years agoFixed a bug in event - "native" is a reserved word in Safari 2.
John Resig [Fri, 7 Sep 2007 19:28:25 +0000 (19:28 +0000)]
Fixed a bug in event - "native" is a reserved word in Safari 2.

17 years agoForgot to update the $.param() tests.
John Resig [Wed, 5 Sep 2007 17:22:13 +0000 (17:22 +0000)]
Forgot to update the $.param() tests.

17 years agoRe-disabled the Ajax tests in Safari.
John Resig [Wed, 5 Sep 2007 17:09:18 +0000 (17:09 +0000)]
Re-disabled the Ajax tests in Safari.

17 years agoIntegration of Mike Alsup's excellent form serialization code. The benefits are as...
John Resig [Wed, 5 Sep 2007 17:06:05 +0000 (17:06 +0000)]
Integration of Mike Alsup's excellent form serialization code. The benefits are as follows:

- New method: .serializeArray()
This returns an array of name/value pairs representing the contents of a form, or individual input elements.
- Enhancement: .serialize()
The results are correct now (as opposed to the mess from before), and allows you to serializes forms directly (rather than just the input elements).
- Enhancement: .val()
This now returns the correct value when dealing wih selects. Additionally, when dealing with multiple selects, it returns an array of values.

Based upon Mike's code:
http://malsup.com/jquery/form/comp/form.js

and test suite:
http://malsup.com/jquery/form/comp/test.html

17 years agoAdded support for the new .andSelf() method. This method combines the previous two...
John Resig [Tue, 4 Sep 2007 04:44:54 +0000 (04:44 +0000)]
Added support for the new .andSelf() method. This method combines the previous two matched sets on the stack into a single stack.

For example:
  $("#foo").parent();
  // => [ #bar ]

  $("#foo").parent().andSelf();
  // => [ #bar, #foo ]

17 years agoFix for bug #1549, where the DOM conversion of <code/> and similar elements would...
John Resig [Tue, 4 Sep 2007 04:34:48 +0000 (04:34 +0000)]
Fix for bug #1549, where the DOM conversion of <code/> and similar elements would fail. This forces it to work correctly in all browsers.

17 years agoMade it so that you can't change the type of an input element, having it throw an...
John Resig [Tue, 4 Sep 2007 04:17:14 +0000 (04:17 +0000)]
Made it so that you can't change the type of an input element, having it throw an exception instead (except for input elements that haven't yet been injected into the DOM). (Bug #1536)

17 years agoRemoved all deprecated functionality for jQuery 1.2. A full list of what was removed...
John Resig [Tue, 4 Sep 2007 02:55:38 +0000 (02:55 +0000)]
Removed all deprecated functionality for jQuery 1.2. A full list of what was removed can be found here: jquery.com/blog/2007/08/24/jquery-114-faster-more-tests-ready-for-12/

17 years agoRemoved all inline documentation. The current version of all documentation is stored...
John Resig [Tue, 4 Sep 2007 01:57:35 +0000 (01:57 +0000)]
Removed all inline documentation. The current version of all documentation is stored online, on the wiki: docs.jquery.com/

17 years agoAdded a new .stop() method which stops all animations running on the matched set...
John Resig [Tue, 4 Sep 2007 00:28:22 +0000 (00:28 +0000)]
Added a new .stop() method which stops all animations running on the matched set of elements.

Example:
  $("#foo").slideDown(1000);
  setTimeout(function(){
    $("#foo").stop();
  }, 500);

17 years agoRe-disabled the ajax tests in Safari 3.
John Resig [Mon, 3 Sep 2007 23:59:31 +0000 (23:59 +0000)]
Re-disabled the ajax tests in Safari 3.

17 years agoAdded support for:
John Resig [Mon, 3 Sep 2007 23:45:14 +0000 (23:45 +0000)]
Added support for:
- Cross Domain getScript
  $.getScript("http://foo.com/script.js");
- JSONP
  $.ajax({ url: "script.js", type: "jsonp" });
  $.getJSON("script.js?callback=?");
- Cross Domain JSONP/getJSON
  $.getJSON("http://foo.com/script.js?callback=?");
- No-cache Ajax Requests
  $.ajax({ url: "test.html", cache: false });

17 years agoAdded namespaced events to bind, unbind, and trigger. This allows you to deal with...
John Resig [Mon, 3 Sep 2007 14:53:09 +0000 (14:53 +0000)]
Added namespaced events to bind, unbind, and trigger. This allows you to deal with event handlers of a specific "class" (great for plugins).

17 years agoReverted the change that I made in #1320.
John Resig [Sun, 2 Sep 2007 22:34:18 +0000 (22:34 +0000)]
Reverted the change that I made in #1320.

17 years agoAdded support for a new :header psuedo-selector (only selects H1-H6 elements).
John Resig [Fri, 31 Aug 2007 05:43:24 +0000 (05:43 +0000)]
Added support for a new :header psuedo-selector (only selects H1-H6 elements).

17 years agoMake it so that you can filter tests by keyword.
John Resig [Fri, 31 Aug 2007 05:41:08 +0000 (05:41 +0000)]
Make it so that you can filter tests by keyword.

17 years agoAdded support for .wrapInner() and .wrapAll() - and re-wrote .wrap() to use .wrapAll...
John Resig [Fri, 31 Aug 2007 05:33:43 +0000 (05:33 +0000)]
Added support for .wrapInner() and .wrapAll() - and re-wrote .wrap() to use .wrapAll(). (Fixes bug #1296)

17 years agoAdded support for .contents(). Returns ALL child nodes for an element - except for...
John Resig [Fri, 31 Aug 2007 03:38:02 +0000 (03:38 +0000)]
Added support for .contents(). Returns ALL child nodes for an element - except for on an IFrame, then it returns the IFrame's document. This fixes #1024.

17 years agoAdded $(...).map() functionality. (Also closes #1250, imo)
John Resig [Fri, 31 Aug 2007 03:26:03 +0000 (03:26 +0000)]
Added $(...).map() functionality. (Also closes #1250, imo)

17 years agoMade it so that you can pass in an event object to the trigger data args and it'll...
John Resig [Thu, 30 Aug 2007 16:34:34 +0000 (16:34 +0000)]
Made it so that you can pass in an event object to the trigger data args and it'll override the custom event object (this way you can pass in the event object of a mousemove to a drag event trigger, for example).

17 years agoAdded a new extra fn arg to trigger (so you don't have to simulate the trigger yourse...
John Resig [Thu, 30 Aug 2007 05:51:11 +0000 (05:51 +0000)]
Added a new extra fn arg to trigger (so you don't have to simulate the trigger yourself). (Bug #1467) Added a new .triggerHandler() method that allows you to NOT trigger native calls AND returns the response from the handlers. (Bug #873 & #1417)

17 years agoMade jQuery's internal trigger method return the value from handle. (Bug #1417)
John Resig [Tue, 28 Aug 2007 04:42:35 +0000 (04:42 +0000)]
Made jQuery's internal trigger method return the value from handle. (Bug #1417)

17 years agoMade it so that the last return value is always returned from handle() (unless one...
John Resig [Tue, 28 Aug 2007 04:34:23 +0000 (04:34 +0000)]
Made it so that the last return value is always returned from handle() (unless one of the return values was false, in which case the return value is false). (Bug #1416)

17 years agoFixed the issue where $("body").find("div#foo") would ignore the specified tag name...
John Resig [Mon, 27 Aug 2007 04:58:02 +0000 (04:58 +0000)]
Fixed the issue where $("body").find("div#foo") would ignore the specified tag name. (Bug #1543)

17 years agoAdded new replaceWith() (replace all matched elements with the specified HTML/DOM...
John Resig [Sat, 25 Aug 2007 05:12:20 +0000 (05:12 +0000)]
Added new replaceWith() (replace all matched elements with the specified HTML/DOM Elements/Array/etc.) and replaceAll() (replace the specified elements with the set of matched elements).

17 years agoAdded a test case for "purple include", fixed a bug.
John Resig [Sat, 25 Aug 2007 03:55:12 +0000 (03:55 +0000)]
Added a test case for "purple include", fixed a bug.

17 years agoNew feature: You can now inject portions of a document via .load(), as opposed to...
John Resig [Sat, 25 Aug 2007 03:33:08 +0000 (03:33 +0000)]
New feature: You can now inject portions of a document via .load(), as opposed to the full thing.

Examples:
- $("#test").load("test.html #something");
- $("#test").load("test.html p.user");

Caveats:
- No scripts are injected when a selector is used.
- The selector is rooted inside the head and body - it's equivalent to doing:
  $("body,head").find(selector)

17 years agoLanding animation of scrollLeft/scrollTop (also works on random DOM object properties...
John Resig [Sat, 25 Aug 2007 03:03:27 +0000 (03:03 +0000)]
Landing animation of scrollLeft/scrollTop (also works on random DOM object properties as well).

17 years agoTagging the 1.1.4 release.
John Resig [Fri, 24 Aug 2007 01:49:27 +0000 (01:49 +0000)]
Tagging the 1.1.4 release.

17 years agoMarked all the appropriate methods as being deprecated for the 1.1.4 release (in...
John Resig [Fri, 24 Aug 2007 01:28:07 +0000 (01:28 +0000)]
Marked all the appropriate methods as being deprecated for the 1.1.4 release (in preparation for 1.2).

17 years agoBrought back a husk method to represent evalScripts. I didn't realize so many plugins...
John Resig [Fri, 24 Aug 2007 01:06:23 +0000 (01:06 +0000)]
Brought back a husk method to represent evalScripts. I didn't realize so many plugins relied on it (it's deprecated in this release).

17 years agoTweaked the Ajax test suite for Safari.
John Resig [Wed, 22 Aug 2007 07:10:50 +0000 (07:10 +0000)]
Tweaked the Ajax test suite for Safari.

17 years agoOnly bind .ready() once per instance of jQuery - and only bind if the ready() method...
John Resig [Wed, 22 Aug 2007 06:51:41 +0000 (06:51 +0000)]
Only bind .ready() once per instance of jQuery - and only bind if the ready() method is actually called (nothing is bound if window/load is used).

17 years agoFixed bug with the packed version of jQuery.
John Resig [Wed, 22 Aug 2007 06:47:44 +0000 (06:47 +0000)]
Fixed bug with the packed version of jQuery.

17 years agoFixed the case where global events weren't being triggered on window and document.
John Resig [Wed, 22 Aug 2007 06:19:47 +0000 (06:19 +0000)]
Fixed the case where global events weren't being triggered on window and document.

17 years agoFixed use of eval() and new Function() to work within the correct scope (and not...
John Resig [Wed, 22 Aug 2007 06:19:22 +0000 (06:19 +0000)]
Fixed use of eval() and new Function() to work within the correct scope (and not throw errors).

17 years agoMade 'jQuery' unrollable via .noConflict(true) and instances of new Function() have...
John Resig [Wed, 22 Aug 2007 05:44:47 +0000 (05:44 +0000)]
Made 'jQuery' unrollable via .noConflict(true) and instances of new Function() have been converted to eval(function(){}) in order to handle jQuery name changes. (Bug #1393)

17 years agoAdded fix for undefined property in animation, in IE (Bug #1518)
John Resig [Wed, 22 Aug 2007 04:52:53 +0000 (04:52 +0000)]
Added fix for undefined property in animation, in IE (Bug #1518)

17 years agoUsing some of the ideas presented by rformato, I've significantly sped up $("#id...
John Resig [Tue, 21 Aug 2007 08:25:11 +0000 (08:25 +0000)]
Using some of the ideas presented by rformato, I've significantly sped up $("#id") selection. It's now just 10% slower than doing: $(document.getElementById("test")), which seems quite acceptable. (Bug #1316)

17 years agoAdded the new :has() selector (Bug #1521)
John Resig [Tue, 21 Aug 2007 07:33:52 +0000 (07:33 +0000)]
Added the new :has() selector (Bug #1521)

17 years agoYou can now assign jQuery to random namespaces - very cool. (Bug #1393)
John Resig [Tue, 21 Aug 2007 07:00:06 +0000 (07:00 +0000)]
You can now assign jQuery to random namespaces - very cool. (Bug #1393)

17 years agoFix for a selector speed regression (calling a simple selector many times resulted...
John Resig [Tue, 21 Aug 2007 05:43:44 +0000 (05:43 +0000)]
Fix for a selector speed regression (calling a simple selector many times resulted in a significant speed down). This has been fixed by breaking the RegExps out into the global scope. This required that a closure be implemented around the full jQuery script (which is now the case). Some simple changes were made in addition to the RegExp one, allowing for some greater flexibility on our part - and hopefully better compression.

Speed results:
http://dev.jquery.com/~john/ticket/1351/ vs.
http://dev.jquery.com/~john/ticket/1351/113.html vs.
http://dev.jquery.com/~john/ticket/1351/112.html

17 years agoTwo quick fixes in relation to #1028. ajaxSetup shouldn't be deep and the boolean...
John Resig [Tue, 21 Aug 2007 04:46:07 +0000 (04:46 +0000)]
Two quick fixes in relation to #1028. ajaxSetup shouldn't be deep and the boolean arg should be used, not overwritten with 'true'.

17 years agoMake deep .extend() an optional argument - it will go deep if you pass in an boolean...
John Resig [Tue, 21 Aug 2007 04:42:31 +0000 (04:42 +0000)]
Make deep .extend() an optional argument - it will go deep if you pass in an boolean as the first argument (fixed bug #1028).

17 years agoignore dist folder
Jörn Zaefferer [Mon, 20 Aug 2007 20:31:06 +0000 (20:31 +0000)]
ignore dist folder

17 years agoignore eclipse' .project files
Jörn Zaefferer [Mon, 20 Aug 2007 18:59:21 +0000 (18:59 +0000)]
ignore eclipse' .project files

17 years agoFixed two cases where []. was used instead of Array.prototype. (Bug #1427)
John Resig [Mon, 20 Aug 2007 07:08:01 +0000 (07:08 +0000)]
Fixed two cases where []. was used instead of Array.prototype. (Bug #1427)

17 years agoJust pushed in my changes for making jQuery.each on objects faster, sample results...
John Resig [Mon, 20 Aug 2007 07:04:00 +0000 (07:04 +0000)]
Just pushed in my changes for making jQuery.each on objects faster, sample results: dev.jquery.com/~john/ticket/each/obj.html

17 years agoJust pushed some major speed improvements through for $.each() - we're now seeing...
John Resig [Mon, 20 Aug 2007 06:29:41 +0000 (06:29 +0000)]
Just pushed some major speed improvements through for $.each() - we're now seeing a 2x speed improvement over 1.1.3. Some crude results can be found here: dev.jquery.com/~john/ticket/each/

17 years agoMake jQuery work without warnings in strict mode, in Firefox.
John Resig [Mon, 20 Aug 2007 03:59:34 +0000 (03:59 +0000)]
Make jQuery work without warnings in strict mode, in Firefox.

17 years agoImplemented the new .slice() method (bug #1517).
John Resig [Mon, 20 Aug 2007 02:51:57 +0000 (02:51 +0000)]
Implemented the new .slice() method (bug #1517).

17 years agoComplete overhaul of the Ajax test suite, it's now passing in all browsers. In order...
John Resig [Sun, 19 Aug 2007 23:37:26 +0000 (23:37 +0000)]
Complete overhaul of the Ajax test suite, it's now passing in all browsers. In order to achieve this I had to fix a numbe
r of bugs in the suite itself, along with other random bugs that popped up. The following bugs were resolved along the wa
y: #1236 (.extend() keeps processing when it hits nulls), #1028 (.extend() now works recursively), #1080 ($.get no longer
 overwrites the data parameter), #1210 (Creating script and link tags now work), and #1463 (jQuery.global has been re-too
led to no longer leak memory and slow things down).

17 years agoAdded a fix for IE returning comment nodes in * queries. I put the logic in $.merge...
John Resig [Sun, 19 Aug 2007 07:28:41 +0000 (07:28 +0000)]
Added a fix for IE returning comment nodes in * queries. I put the logic in $.merge() but added a conditional such that the speed hit only effects IE users. (Bug #1155)

17 years agoApplied arrix's fix for getting style values on elements that aren't in the DOM,...
John Resig [Sun, 19 Aug 2007 07:06:15 +0000 (07:06 +0000)]
Applied arrix's fix for getting style values on elements that aren't in the DOM, in Safari. (Bug #1482)

17 years agoWe were catching exceptions within the success callback of an Ajax request, then...
John Resig [Sun, 19 Aug 2007 00:48:53 +0000 (00:48 +0000)]
We were catching exceptions within the success callback of an Ajax request, then causing an error callback to be called (which is incorrect). (Bug #1441)

17 years agoFixed non-unique results from .parent(), .parents(), .next(), etc. (Bug #1449)
John Resig [Sun, 19 Aug 2007 00:07:41 +0000 (00:07 +0000)]
Fixed non-unique results from .parent(), .parents(), .next(), etc. (Bug #1449)

17 years agoAdded a fix for bug #1489, appending <caption> was broken.
John Resig [Thu, 16 Aug 2007 03:35:29 +0000 (03:35 +0000)]
Added a fix for bug #1489, appending <caption> was broken.

17 years agoreverted my "fixes", seems like they work only with the latest (dev) rhino version...
Jörn Zaefferer [Tue, 14 Aug 2007 16:37:14 +0000 (16:37 +0000)]
reverted my "fixes", seems like they work only with the latest (dev) rhino version, which isn't that helpful

17 years agoMore missing semicolons.
John Resig [Tue, 7 Aug 2007 22:25:26 +0000 (22:25 +0000)]
More missing semicolons.

17 years agoAdded a couple JSLint-caught fixes.
John Resig [Tue, 7 Aug 2007 22:23:30 +0000 (22:23 +0000)]
Added a couple JSLint-caught fixes.

17 years agoBrought back jQuery.globalEval(), fixing bug #1425.
John Resig [Tue, 31 Jul 2007 02:59:53 +0000 (02:59 +0000)]
Brought back jQuery.globalEval(), fixing bug #1425.

17 years agoWhen we disabled triggering of clicks, we also killed off blur and focus, this fixes...
John Resig [Tue, 31 Jul 2007 02:22:39 +0000 (02:22 +0000)]
When we disabled triggering of clicks, we also killed off blur and focus, this fixes that (bug #1440).

17 years agoThe test for underscore selectors broke under Opera, so the element is now loaded...
John Resig [Mon, 30 Jul 2007 02:52:24 +0000 (02:52 +0000)]
The test for underscore selectors broke under Opera, so the element is now loaded via Ajax and tested. (bug #1084)

17 years agoIE prunes whitespace from the start of innerHTML-injected strings. This fixes that.
John Resig [Mon, 30 Jul 2007 02:14:06 +0000 (02:14 +0000)]
IE prunes whitespace from the start of innerHTML-injected strings. This fixes that.

17 years agoFixed failing test for Safari 2.
John Resig [Sun, 29 Jul 2007 23:10:00 +0000 (23:10 +0000)]
Fixed failing test for Safari 2.

17 years agoGot .css() working in Safari 2 as well (a number of shortcuts had to be removed,...
John Resig [Sun, 29 Jul 2007 23:01:42 +0000 (23:01 +0000)]
Got .css() working in Safari 2 as well (a number of shortcuts had to be removed, unfortunately). This should successfully close bug #1349.

17 years agoAdded a fix for Safari's broken CSS getComputedStyle accessing. Additionally, added...
John Resig [Sun, 29 Jul 2007 22:32:06 +0000 (22:32 +0000)]
Added a fix for Safari's broken CSS getComputedStyle accessing. Additionally, added a fix for Safari mis-reporting @selected for display: none options. The test suite is now completely passing in Safari 3. (Bug #1349)

17 years agoIntegrated the custom fx test suite into the main test suite. All tests are now run...
John Resig [Sun, 29 Jul 2007 19:07:21 +0000 (19:07 +0000)]
Integrated the custom fx test suite into the main test suite. All tests are now run automatically. Removed the old suite, as it was no longer needed.

17 years agonevermind, I'm dumb. =P
Sean Catchpole [Thu, 26 Jul 2007 00:31:48 +0000 (00:31 +0000)]
nevermind, I'm dumb. =P

17 years agoFixed ajax array arguments in $.param
Sean Catchpole [Thu, 26 Jul 2007 00:27:56 +0000 (00:27 +0000)]
Fixed ajax array arguments in $.param

17 years ago$("#foo", xml) would always return an empty set, fixed (bug #877). Additionally,...
John Resig [Wed, 25 Jul 2007 00:56:50 +0000 (00:56 +0000)]
$("#foo", xml) would always return an empty set, fixed (bug #877). Additionally, a bug in jQuery.isXMLDoc(xmlDoc) was discovered, if the element was, in fact, an XML document.

17 years agoAdded a fix for relative // - $("//div",this) (bug #1418)
John Resig [Wed, 25 Jul 2007 00:39:45 +0000 (00:39 +0000)]
Added a fix for relative // - $("//div",this) (bug #1418)

17 years agoselectedIndex is now cloned cross-browser (#1294)
Brandon Aaron [Sat, 21 Jul 2007 04:26:13 +0000 (04:26 +0000)]
selectedIndex is now cloned cross-browser (#1294)

17 years agoselectedIndex is now cloned in IE (#1294)
Brandon Aaron [Sat, 21 Jul 2007 03:16:22 +0000 (03:16 +0000)]
selectedIndex is now cloned in IE (#1294)

17 years agoaddClass doesn't fail when passed an undefined or null variable (#1309)
Brandon Aaron [Sat, 21 Jul 2007 01:55:05 +0000 (01:55 +0000)]
addClass doesn't fail when passed an undefined or null variable (#1309)

17 years agomissing semi-colon
Brandon Aaron [Sat, 21 Jul 2007 01:53:38 +0000 (01:53 +0000)]
missing semi-colon

17 years agotrigger DOM0 event handlers when doing a trigger (#1363)
Brandon Aaron [Sat, 21 Jul 2007 01:04:59 +0000 (01:04 +0000)]
trigger DOM0 event handlers when doing a trigger (#1363)

17 years agoAdded support for parsererror errors from Ajax requests (bug #1145).
John Resig [Sat, 21 Jul 2007 00:52:30 +0000 (00:52 +0000)]
Added support for parsererror errors from Ajax requests (bug #1145).