Commit graph

2255 commits

Author SHA1 Message Date
jeresig c3b2aa9928 Landed the rest of the liveHandler rewrite that takes advantage of the new closest multi-selector signature (sorry, accidentally committed some of it in the wrong commit: 4daae7a79f). 2009-12-03 11:15:26 -05:00
jeresig 24e96ba22c Re-worked the closest no-duplicate-selector code again to be more efficient. 2009-12-03 11:14:10 -05:00
jeresig 525bb27bc0 Prevent duplicate selectors from having to match in closest. 2009-12-03 11:05:12 -05:00
jeresig 4daae7a79f No need to do the closest match if no selectors are passed in. 2009-12-03 10:51:04 -05:00
jeresig e534a310c7 Added in the new .closest(Array) method, will be used to improve the performance of live filtering. 2009-12-02 19:05:51 -05:00
jeresig 62436f4b29 Extracted the logic for copying events from one jQuery set to another, makes it easier to work with disconnected DOM nodes. 2009-12-02 17:15:09 -05:00
jeresig 391f83b2a2 Fixed logic error in html method - support.leadingWhitespace shouldn't have been negated. 2009-12-02 15:20:33 -05:00
jeresig bfc15b57ef Removed debug statements from manipulation tests, was causing errors in IE. 2009-12-02 15:14:48 -05:00
jeresig ad4f28631a Make sure that a DOM node isn't getting passed through (as is the case in IE, it has a toString of [object Object]. 2009-12-02 14:59:19 -05:00
jeresig b8d0c0711f Added some isObjectLiteral tests. 2009-12-02 14:57:13 -05:00
Yehuda Katz e277e6ed21 Adding a test that a new option can be selected with val(N) 2009-12-01 14:11:32 -08:00
Yehuda Katz 64e4a879f9 Fix css("opacity") to not clobber other filters in IE. Closes #4707. 2009-12-01 11:40:28 -08:00
jeresig 839e97199c Updated the Rakefile to use the correct init code. 2009-11-30 15:56:40 -05:00
jeresig 5480cd3fa1 Shortened the build messages in the Makefile and added test/qunit and src/sizzle to the cleanup. 2009-11-30 15:54:14 -05:00
jeresig d605b8ee56 Don't try to run the clone code if the directory already exists. 2009-11-30 15:52:41 -05:00
jeresig 6798df54f4 Switched from using Git Submodules to just doing a straight clone of the QUnit and Sizzle directories. Works much better for what we want. 2009-11-30 15:45:16 -05:00
jeresig e514e67cd2 Bringing Sizzle and QUnit up to date. 2009-11-30 15:09:50 -05:00
jeresig 918cf68dfd Don't do the update after the pull - forces the submodules up to date. 2009-11-30 15:08:55 -05:00
jeresig 1a26e41917 Use .add() to merge two test groups together for .unwrap(). 2009-11-30 14:39:34 -05:00
jeresig 122e5dcf14 Changed the style attribute test to handle hex colors (as that's what Opera returns, in this case. 2009-11-30 14:31:32 -05:00
jeresig 3ec9f4990c Made .show(null/undefined) and .hide(null/undefined) work the same as .show() and .hide(). 2009-11-30 14:28:09 -05:00
jeresig 25c188b6d2 Fixed a problem with animations with a duration of 0 not working properly for hide and show. 2009-11-30 14:22:24 -05:00
jeresig 21dead4691 Simplified a selector in the .live() tests. 2009-11-30 14:02:03 -05:00
jeresig 6e5a6a26a7 Tweaked the live test to be a bit simpler. 2009-11-30 13:50:25 -05:00
jeresig c7407bd4fc Fixed wrap test that was looking for comment values from .text(). 2009-11-30 13:46:14 -05:00
jeresig df6e02a4a7 Merge branch 'master' of github.com:jquery/jquery 2009-11-30 13:42:26 -05:00
jeresig 90ba57ce6d Fixed bug with singleTag matching in core.js. 2009-11-30 13:42:19 -05:00
Yehuda Katz 17955cacf4 Fixes $.trim for   closes #4980 2009-11-30 10:22:18 -08:00
jeresig 84857abefc Ignore diff and patch files. 2009-11-30 13:00:06 -05:00
jeresig 2b7c38f80c Merge branch 'master' of github.com:jquery/jquery 2009-11-29 16:22:08 -05:00
jeresig e00be67f32 Adding a Rakefile to build jQuery core, for those that need it. 2009-11-29 16:21:54 -05:00
Karl Swedberg 255068da33 added missing semicolons 2009-11-28 04:09:14 +08:00
Karl Swedberg a5efe9d3a6 added missing radix parameter for parseInt() 2009-11-28 04:09:14 +08:00
Karl Swedberg ddb86f8d5b added curly braces around all if/else statements 2009-11-28 04:09:14 +08:00
jeresig 1879e8cbee Force endlines to be just LF (any CRLF is auto-converted to LF by Git). 2009-11-27 11:23:19 -05:00
John Resig a7678267d8 Disable the X-Requested-With header to avoid preflighting remote POST requests. Fixes #4601. 2009-11-25 13:29:34 -05:00
John Resig 0f6e9a8c69 Fixed spacing on the modified Ajax code. 2009-11-25 13:24:24 -05:00
Mark Gibson ef819c91b9 Fixing endlines. 2009-11-25 12:09:53 -05:00
Robert Katic 0bb3998a6a Re-adding zeros removed from slice calls in last commit. 2009-11-26 00:58:39 +08:00
Robert Katic 04dbdb7525 Corrected RegExp to match event namespaces. Fixes #5303. 2009-11-26 00:58:39 +08:00
Robert Katic ac00fe5bbb Generic jQuery.merge and safer jQuery.makeArray(nodeList).
* Made jQuery.marge more generic supporting null and undefined values, and supporting array like objects as results. Fixes #5527.

* Made jQuery.makeArray(nodeList) more safer using jQuery.merge internally. Fixes #5528.

* Added a second "results" argument to jQuery.makeArray for internal usage to avoid intermediary arrays in init.
2009-11-26 00:56:49 +08:00
John Resig b30af34f28 Added support for .text() on text nodes. Fixes #5525. 2009-11-17 14:52:08 -05:00
John Resig c08474580c Re-wrote context Ajax test to use an element instead of an object (a more realistic test and works with the new jQuery.extend logic for cloning object literals). 2009-11-17 14:36:10 -05:00
John Resig b33f37c22c Re-adding the QUnit submodule file. 2009-11-17 14:25:14 -05:00
Andrea Giammarchi 3a23a5c17d Changed the === undefined ready event check to == null since frameElement is usually null and was skipping the normal line of checks. 2009-11-17 10:45:01 -05:00
John Resig 0a7232cc39 Hide the .settings file in the gitignore. 2009-11-15 00:27:06 -05:00
Kim Dalsgaard d338b1a1e7 Ignoring src/selector.js (build) and Emacs backup files 2009-11-15 12:14:31 +08:00
Scott Gonzalez 8cb8ae27d8 Added test for passing null to .show() 2009-11-13 12:23:39 +08:00
Scott Gonzalez 9cd5866a29 Allowing falsy values to be passed as a speed for hide(). 2009-11-13 12:23:39 +08:00
Scott Gonzalez 231c875678 Allowing falsy values to be passed as a speed for show(). 2009-11-13 12:23:39 +08:00