]> source.dussan.org Git - jquery.git/log
jquery.git
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. 1.2.1
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().

17 years agoFixed animating to 0% (Bug #1586).
John Resig [Sat, 15 Sep 2007 03:26:33 +0000 (03:26 +0000)]
Fixed animating to 0% (Bug #1586).

17 years agoForgot the 'var' statement, causing variables to leak. (Bug #1592)
John Resig [Sat, 15 Sep 2007 03:12:56 +0000 (03:12 +0000)]
Forgot the 'var' statement, causing variables to leak. (Bug #1592)

17 years agoAdded .eq(Number) back in - I'm convinced that it's more useful than the .slice(...
John Resig [Sat, 15 Sep 2007 03:08:46 +0000 (03:08 +0000)]
Added .eq(Number) back in - I'm convinced that it's more useful than the .slice() replacement. lt/gt are still gone, though.

17 years agoAdded a fix for bug #1612, where :contains() was failing on XML documents, in IE.
John Resig [Sat, 15 Sep 2007 03:05:00 +0000 (03:05 +0000)]
Added a fix for bug #1612, where :contains() was failing on XML documents, in IE.

17 years agoConvert relative animations to use -= and += (instead of just - and +, which conflict...
John Resig [Sat, 15 Sep 2007 02:40:42 +0000 (02:40 +0000)]
Convert relative animations to use -= and += (instead of just - and +, which conflicted with normal absolute animations). (Fixes bug #1607) Also fixed a bug in queue.

17 years agoetooled the jQuery constructor, makes it work better for embedding (Bug #1585). Also...
John Resig [Sat, 15 Sep 2007 02:24:44 +0000 (02:24 +0000)]
etooled the jQuery constructor, makes it work better for embedding (Bug #1585). Also took the opportunity to do some renaming in the constructor and init.

17 years agoFixed an issue with the suite expecting a different result for the changed triggerHan...
John Resig [Sat, 15 Sep 2007 02:23:08 +0000 (02:23 +0000)]
Fixed an issue with the suite expecting a different result for the changed triggerHandler behavior.

17 years agoFixed bug #1594, #1565, #1598 - all of which were concerning the improper execution...
John Resig [Sat, 15 Sep 2007 02:16:29 +0000 (02:16 +0000)]
Fixed bug #1594, #1565, #1598 - all of which were concerning the improper execution of embedded scripts in IE and Safari.

17 years agoAdded a fix for bug #1580, where the query string was appended to the POST data,...
John Resig [Sat, 15 Sep 2007 01:18:30 +0000 (01:18 +0000)]
Added a fix for bug #1580, where the query string was appended to the POST data, instead of being left alone.

17 years agoBug #1584, ajaxStop/complete calls weren't called for JSONP requests.
John Resig [Sat, 15 Sep 2007 00:35:16 +0000 (00:35 +0000)]
Bug #1584, ajaxStop/complete calls weren't called for JSONP requests.

17 years agoFix for bug #1600 - multiple selects were being serialized incorrectly.
John Resig [Sat, 15 Sep 2007 00:23:21 +0000 (00:23 +0000)]
Fix for bug #1600 - multiple selects were being serialized incorrectly.

17 years agoMake sure that the right event type is always triggered (was causing problems with...
John Resig [Fri, 14 Sep 2007 23:58:51 +0000 (23:58 +0000)]
Make sure that the right event type is always triggered (was causing problems with UI's event triggering).

17 years agoFixed some bugs in how .queue() works (it wasn't handling the argument order correctly).
John Resig [Fri, 14 Sep 2007 17:47:01 +0000 (17:47 +0000)]
Fixed some bugs in how .queue() works (it wasn't handling the argument order correctly).

17 years agofix clone(true) for IE
Brandon Aaron [Thu, 13 Sep 2007 16:45:53 +0000 (16:45 +0000)]
fix clone(true) for IE

17 years agoclean ant task shouldn't delete the new test folder
Brandon Aaron [Thu, 13 Sep 2007 16:44:44 +0000 (16:44 +0000)]
clean ant task shouldn't delete the new test folder

17 years agoAbsolutely position animations, damn my twichy fingers for commiting too soon.
Sean Catchpole [Wed, 12 Sep 2007 22:16:43 +0000 (22:16 +0000)]
Absolutely position animations, damn my twichy fingers for commiting too soon.

17 years agoAnimate should absolutely position if a number is passed (Ex: -700)
Sean Catchpole [Wed, 12 Sep 2007 21:04:10 +0000 (21:04 +0000)]
Animate should absolutely position if a number is passed (Ex: -700)

17 years agoUpdated test.js for the runtest build target to reflect the path changes for the...
Paul Mclanahan [Wed, 12 Sep 2007 15:45:05 +0000 (15:45 +0000)]
Updated test.js for the runtest build target to reflect the path changes for the test scripts.

17 years agosafari2 should just check the browser and version
Brandon Aaron [Tue, 11 Sep 2007 02:13:00 +0000 (02:13 +0000)]
safari2 should just check the browser and version

17 years agoInclude scroll offsets for everything but inline and table-row elements
Brandon Aaron [Tue, 11 Sep 2007 01:08:51 +0000 (01:08 +0000)]
Include scroll offsets for everything but inline and table-row elements

17 years agoCouple of fixes to the offset method
Brandon Aaron [Tue, 11 Sep 2007 00:43:12 +0000 (00:43 +0000)]
Couple of fixes to the offset method

17 years agoFixed a bug that was occurring in the packed version of jQuery.
John Resig [Mon, 10 Sep 2007 19:43:58 +0000 (19:43 +0000)]
Fixed a bug that was occurring in the packed version of jQuery.

17 years agoTagging the 1.2 release. 1.2
John Resig [Mon, 10 Sep 2007 18:51:39 +0000 (18:51 +0000)]
Tagging the 1.2 release.

17 years agoMade the expando code attach properties to an anonymous object, as opposed to the...
John Resig [Mon, 10 Sep 2007 18:39:16 +0000 (18:39 +0000)]
Made the expando code attach properties to an anonymous object, as opposed to the global window object, and fixed a bug where .removeAttribute() tried to fire even if it didn't exist.

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: http://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: http://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.