jquery.git
14 years agoAdded a default quality of `*/*` for content negotiation.
Heungsub Lee [Wed, 7 Jul 2010 04:38:54 +0000 (12:38 +0800)]
Added a default quality of `*/*` for content negotiation.

14 years agoSerialize keys with empty arrays/object values in jQuery.param(). Fixes #6481.
temp01 [Fri, 24 Sep 2010 20:57:25 +0000 (16:57 -0400)]
Serialize keys with empty arrays/object values in jQuery.param(). Fixes #6481.

14 years agoMake sure that undefined is always returned for missing data properties. Follow-up...
jeresig [Fri, 24 Sep 2010 20:30:57 +0000 (16:30 -0400)]
Make sure that undefined is always returned for missing data properties. Follow-up to #6304.

14 years agoAllow data to be bound to Flash objects (but still stopping short of attaching to...
jeresig [Fri, 24 Sep 2010 20:24:07 +0000 (16:24 -0400)]
Allow data to be bound to Flash objects (but still stopping short of attaching to applets. Fixes #6121.

14 years agoMake sure that a clone of the animate speed properties are used to avoid recursion...
jeresig [Fri, 24 Sep 2010 19:57:51 +0000 (15:57 -0400)]
Make sure that a clone of the animate speed properties are used to avoid recursion problems. Fixes #3583.

14 years agoMake sure that the body element exists before doing the body selector optimization...
jeresig [Fri, 24 Sep 2010 19:53:38 +0000 (15:53 -0400)]
Make sure that the body element exists before doing the body selector optimization. Fixes #6529.

14 years agoAllow named animation speed to be 0. Fixes #6579.
J. Ryan Stinnett [Mon, 17 May 2010 21:48:17 +0000 (16:48 -0500)]
Allow named animation speed to be 0. Fixes #6579.

14 years agoMake the interval between two animations tick public: jQuery.fx.interval. Fixes ...
lrbabe [Fri, 25 Jun 2010 14:24:36 +0000 (16:24 +0200)]
Make the interval between two animations tick public: jQuery.fx.interval. Fixes #6276.

14 years agoIncrease the speed of the single setTimeout calls for the ready event.
jeresig [Fri, 24 Sep 2010 14:06:36 +0000 (10:06 -0400)]
Increase the speed of the single setTimeout calls for the ready event.

14 years agoMerge branch 'master' of github.com:jquery/jquery
jeresig [Thu, 23 Sep 2010 16:09:49 +0000 (12:09 -0400)]
Merge branch 'master' of github.com:jquery/jquery

14 years agoTest jQuery.type also with document.
Robert Katic [Fri, 10 Sep 2010 01:26:47 +0000 (03:26 +0200)]
Test jQuery.type also with document.

14 years agoMade jQuery.type more consistent with host objects.
Robert Katic [Fri, 27 Aug 2010 23:14:59 +0000 (01:14 +0200)]
Made jQuery.type more consistent with host objects.

14 years agoEnsure that selector is not broken.
Robert Katic [Tue, 13 Apr 2010 13:11:56 +0000 (15:11 +0200)]
Ensure that selector is not broken.

14 years agoCorrecting some imperfections in test added in previous commit.
Robert Katic [Thu, 25 Mar 2010 13:58:41 +0000 (14:58 +0100)]
Correcting some imperfections in test added in previous commit.

14 years agoAdded support for map of events in live, die, delegate and undelegate. Fixes #6282.
Robert Katic [Sun, 14 Mar 2010 11:34:32 +0000 (12:34 +0100)]
Added support for map of events in live, die, delegate and undelegate. Fixes #6282.

14 years agoAdded some tests for #5991.
Robert Katic [Thu, 4 Feb 2010 21:54:53 +0000 (22:54 +0100)]
Added some tests for #5991.

14 years agoEnsured that arrays are not considered same as plain object on deep extending. Fixes...
Robert Katic [Sat, 30 Jan 2010 18:50:49 +0000 (19:50 +0100)]
Ensured that arrays are not considered same as plain object on deep extending. Fixes #5991.

14 years agoDelay the result of the readyState check to give scripts the opportunity to delay...
jeresig [Thu, 23 Sep 2010 15:38:22 +0000 (11:38 -0400)]
Delay the result of the readyState check to give scripts the opportunity to delay ready, as described by @jrburke in 747ba7defd82bffa6c7ccb69e53b834cbfddb62c.

14 years agoDiscovered that another effects bug was fixed with the recent CSS changes (namely...
jeresig [Thu, 23 Sep 2010 03:43:55 +0000 (23:43 -0400)]
Discovered that another effects bug was fixed with the recent CSS changes (namely that show animations always went to auto, even if they weren't supposed to). Test suite adjusted accordingly.

14 years agoe3463946e19f2eb53d909fc2b59cc1c8636d21bd actually fixed a previously undicovered...
jeresig [Thu, 23 Sep 2010 03:28:57 +0000 (23:28 -0400)]
e3463946e19f2eb53d909fc2b59cc1c8636d21bd actually fixed a previously undicovered but with setting auto, adjust the effects test suite accordingly. Thanks to @bugbegone for the catch.

14 years agoFix missing var. Thanks to @jeff-themovie for the catch.
jeresig [Wed, 22 Sep 2010 20:56:48 +0000 (16:56 -0400)]
Fix missing var. Thanks to @jeff-themovie for the catch.

14 years agoAdd some tests for jQuery.isWindow and make sure that we're operating against an...
jeresig [Wed, 22 Sep 2010 20:50:38 +0000 (16:50 -0400)]
Add some tests for jQuery.isWindow and make sure that we're operating against an object before testing.

14 years agoUnify the means of detecting a window across the library. Fixes jQuery UI bug #5438...
jeresig [Wed, 22 Sep 2010 20:41:51 +0000 (16:41 -0400)]
Unify the means of detecting a window across the library. Fixes jQuery UI bug #5438 and jQuery bugs #6575 and 6088.

14 years agoAllow # urls to contain #. Thanks to @alvopass in f9f9ee52e16f37900296e06982a7dccba89...
jeresig [Wed, 22 Sep 2010 18:58:07 +0000 (14:58 -0400)]
Allow # urls to contain #. Thanks to @alvopass in f9f9ee52e16f37900296e06982a7dccba89c5a78 for the catch.

14 years agoMake sure that #... are trimmed from Ajax request URLs. Fixes #4987.
John Resig [Wed, 22 Sep 2010 16:52:44 +0000 (12:52 -0400)]
Make sure that #... are trimmed from Ajax request URLs. Fixes #4987.

14 years agoFixed the number of expected class tests from a previous commit. Thanks to @bugbegone...
John Resig [Wed, 22 Sep 2010 16:35:42 +0000 (12:35 -0400)]
Fixed the number of expected class tests from a previous commit. Thanks to @bugbegone in 1f667aa035b3e4885d6b35fa9aa4990310f131af for the catch.

14 years agoMake .data(Object) extend the existing data object. Fixes #6692.
jeresig [Wed, 22 Sep 2010 15:52:32 +0000 (11:52 -0400)]
Make .data(Object) extend the existing data object. Fixes #6692.

14 years agoFix bug when accessing .data() on an empty set. Return null rather than throwing...
Jacob Wright [Tue, 7 Sep 2010 16:51:57 +0000 (10:51 -0600)]
Fix bug when accessing .data() on an empty set. Return null rather than throwing exception.

14 years agoAdded full support for easing in all shorthand effects methods (hide, show, toggle...
Karl Swedberg [Wed, 8 Sep 2010 20:31:32 +0000 (16:31 -0400)]
Added full support for easing in all shorthand effects methods (hide, show, toggle, fadeTo, slideUp, etc.). Previously, these methods could only be used with two of the three (speed, easing, callback) arguments, or, in the case of fadeTo, 3 of the 4 (speed, opacity, easing, callback) arguments. Added three more sets of tests to the series of "Chain" tests. Fixes #7014

14 years agoMakefile: cleanup
Carl Fürstenberg [Fri, 6 Aug 2010 22:21:08 +0000 (00:21 +0200)]
Makefile: cleanup

* updating init to either pull or clone, not do both
* make sure it building only when it needs to
* make some variables overridable
* use variables when they should be used instead of direct text
* add V verbosity variable

14 years agoSome minor lint fixes for the RegExp.
jeresig [Wed, 22 Sep 2010 13:46:21 +0000 (09:46 -0400)]
Some minor lint fixes for the RegExp.

14 years agoApplied the RegExp issues reported by Jeff Robinson here: http://jmrware.com/articles...
jeresig [Wed, 22 Sep 2010 13:16:28 +0000 (09:16 -0400)]
Applied the RegExp issues reported by Jeff Robinson here: jmrware.com/articles/2010/jqueryregex/jQueryRegexes.html Additionally broke out all remaining inline RegExp. Fixes #7062.

14 years agoRe-work the document scoping.
jeresig [Wed, 22 Sep 2010 12:08:45 +0000 (08:08 -0400)]
Re-work the document scoping.

14 years agoMake sure the data- number has at least one number in it before passing to isNaN...
jeresig [Wed, 22 Sep 2010 11:34:31 +0000 (07:34 -0400)]
Make sure the data- number has at least one number in it before passing to isNaN. Thanks to @cms in 8ebb9b22df32fe5739a48087b6e33abb9f5cda49 for a heads-up.

14 years agoMake sure that non-px values aren't manipulated before input to height/width.
John Resig [Tue, 21 Sep 2010 21:12:42 +0000 (17:12 -0400)]
Make sure that non-px values aren't manipulated before input to height/width.

14 years agoFix bug with the readyWait DOM ready addition.
John Resig [Tue, 21 Sep 2010 20:26:36 +0000 (16:26 -0400)]
Fix bug with the readyWait DOM ready addition.

14 years agoScratch that, just punting on Opera and 304s for now - there may not be a good soluti...
John Resig [Tue, 21 Sep 2010 20:13:50 +0000 (16:13 -0400)]
Scratch that, just punting on Opera and 304s for now - there may not be a good solution here. Fixes #6060.

14 years agoUse a different workaround for detecting when Opera finds a status 304 page. Fixes...
John Resig [Tue, 21 Sep 2010 19:22:34 +0000 (15:22 -0400)]
Use a different workaround for detecting when Opera finds a status 304 page. Fixes #6060.

14 years agoEscape RegExp braces to sooth JSLint's temper.
jeresig [Tue, 21 Sep 2010 12:53:34 +0000 (08:53 -0400)]
Escape RegExp braces to sooth JSLint's temper.

14 years agoSwitch to using isNaN instead of RegExp for data-.
jeresig [Tue, 21 Sep 2010 12:31:55 +0000 (08:31 -0400)]
Switch to using isNaN instead of RegExp for data-.

14 years agoHandle some additional data- number edge cases.
jeresig [Tue, 21 Sep 2010 12:30:12 +0000 (08:30 -0400)]
Handle some additional data- number edge cases.

14 years agoMake sure that the data- import also supports arrays.
jeresig [Tue, 21 Sep 2010 12:20:31 +0000 (08:20 -0400)]
Make sure that the data- import also supports arrays.

14 years agoAdded in support for basic JSON object parsing of data- attributes.
John Resig [Tue, 21 Sep 2010 04:51:45 +0000 (00:51 -0400)]
Added in support for basic JSON object parsing of data- attributes.

14 years agoMake sure that undefined is returned for not found data- attributes, not null.
John Resig [Tue, 21 Sep 2010 04:44:47 +0000 (00:44 -0400)]
Make sure that undefined is returned for not found data- attributes, not null.

14 years agoTweaked the data number RegExp some to handle some other edge cases.
John Resig [Tue, 21 Sep 2010 04:38:26 +0000 (00:38 -0400)]
Tweaked the data number RegExp some to handle some other edge cases.

14 years agoFixing the problem with data-* based numbers as mention by @jasonwebster in 20673d7.
jeresig [Tue, 21 Sep 2010 00:08:57 +0000 (20:08 -0400)]
Fixing the problem with data-* based numbers as mention by @jasonwebster in 20673d7.

14 years agoMerge remote branch 'RedWolves/master'
John Resig [Mon, 20 Sep 2010 22:10:34 +0000 (18:10 -0400)]
Merge remote branch 'RedWolves/master'

14 years agoPull data-* attributes into .data(). Original code by Andrée Hasson and Paul Irish...
John Resig [Mon, 20 Sep 2010 21:47:41 +0000 (17:47 -0400)]
Pull data-* attributes into .data(). Original code by Andrée Hasson and Paul Irish. Fixes #6921.

14 years agoAllow plugins to delay the exeuction of the ready event. Delay the ready event by...
John Resig [Mon, 20 Sep 2010 18:53:29 +0000 (14:53 -0400)]
Allow plugins to delay the exeuction of the ready event. Delay the ready event by calling: jQuery.readyWait++ and force the event to fire by doing: jQuery.ready(true). Fixes #6781.

14 years agoRemoving extra arg.
jeresig [Mon, 20 Sep 2010 14:41:58 +0000 (10:41 -0400)]
Removing extra arg.

14 years agoNo need to set returnValue if preventDefault exists. Thanks kangax for the catch.
jeresig [Mon, 20 Sep 2010 14:16:36 +0000 (10:16 -0400)]
No need to set returnValue if preventDefault exists. Thanks kangax for the catch.

14 years agoAdded in some .css() setter perf tests as well.
John Resig [Fri, 17 Sep 2010 22:26:21 +0000 (18:26 -0400)]
Added in some .css() setter perf tests as well.

14 years agoDerp, had parseInt on the brain. Thanks karbassi in 6541eb9d80db42c6ced396fcd198228bf...
John Resig [Fri, 17 Sep 2010 21:02:03 +0000 (17:02 -0400)]
Derp, had parseInt on the brain. Thanks karbassi in 6541eb9d80db42c6ced396fcd198228bff9ec7f1.

14 years agoUpdated the Questions? section with the forum information.
Ralph Whitbeck [Fri, 17 Sep 2010 19:40:04 +0000 (12:40 -0700)]
Updated the Questions? section with the forum information.

14 years agoAdding a simple file for doing .css() performance testing.
John Resig [Fri, 17 Sep 2010 19:38:27 +0000 (15:38 -0400)]
Adding a simple file for doing .css() performance testing.

14 years agoFix trailing arg.
John Resig [Fri, 17 Sep 2010 18:58:50 +0000 (14:58 -0400)]
Fix trailing arg.

14 years agoSimplifying the camelCase logic used in the CSS and Effects modules.
John Resig [Fri, 17 Sep 2010 18:53:10 +0000 (14:53 -0400)]
Simplifying the camelCase logic used in the CSS and Effects modules.

14 years agoCleaning up some un-needed CSS code and adding back a temporary (deprecated) curCSS...
John Resig [Fri, 17 Sep 2010 18:41:28 +0000 (14:41 -0400)]
Cleaning up some un-needed CSS code and adding back a temporary (deprecated) curCSS method.

14 years agoMerge branch 'csshooks'
John Resig [Fri, 17 Sep 2010 18:32:43 +0000 (14:32 -0400)]
Merge branch 'csshooks'

14 years agojQuery.css() returns a string value - handle this properly in the animation code.
John Resig [Fri, 17 Sep 2010 18:30:30 +0000 (14:30 -0400)]
jQuery.css() returns a string value - handle this properly in the animation code.

14 years agoMake sure that empty height/width values are still set.
John Resig [Fri, 17 Sep 2010 17:51:12 +0000 (13:51 -0400)]
Make sure that empty height/width values are still set.

14 years agoFixed some sloppy checks in the effects test suite, makes it more apparent where...
John Resig [Fri, 17 Sep 2010 17:38:13 +0000 (13:38 -0400)]
Fixed some sloppy checks in the effects test suite, makes it more apparent where issues are happening.

14 years agoBringing in the rdashAlpha/fcamelCase private var tweaks from the csshooks branch.
John Resig [Fri, 17 Sep 2010 17:18:39 +0000 (13:18 -0400)]
Bringing in the rdashAlpha/fcamelCase private var tweaks from the csshooks branch.

14 years agoSplit apart jQuery.css into jQuery.css (computed values) and jQuery.style (currently...
jeresig [Thu, 16 Sep 2010 14:00:56 +0000 (10:00 -0400)]
Split apart jQuery.css into jQuery.css (computed values) and jQuery.style (currently set values).

14 years agoWrap the core return in parens to fix a confused JSLint.
jeresig [Tue, 14 Sep 2010 13:57:26 +0000 (09:57 -0400)]
Wrap the core return in parens to fix a confused JSLint.

14 years agoRemoving leftover debug code.
jeresig [Tue, 14 Sep 2010 13:52:13 +0000 (09:52 -0400)]
Removing leftover debug code.

14 years agoAdd a flag to verify if a browser supports some form of XHR request. Fixes #7030.
John Resig [Mon, 13 Sep 2010 22:02:33 +0000 (18:02 -0400)]
Add a flag to verify if a browser supports some form of XHR request. Fixes #7030.

14 years agoMaking some more adjustments to handle auto CSS properties.
John Resig [Mon, 13 Sep 2010 22:00:28 +0000 (18:00 -0400)]
Making some more adjustments to handle auto CSS properties.

14 years agoOnly set height/width if it's a non-negative number (don't set it to 0).
jeresig [Thu, 9 Sep 2010 20:34:15 +0000 (16:34 -0400)]
Only set height/width if it's a non-negative number (don't set it to 0).

14 years agoMake sure that height/width methods return numbers instead of strings.
jeresig [Thu, 9 Sep 2010 20:33:05 +0000 (16:33 -0400)]
Make sure that height/width methods return numbers instead of strings.

14 years agoAnother logic bug caught by furf in ad950c8c5992937640a1e1aca8d63bb476b001f6.
jeresig [Thu, 9 Sep 2010 20:29:26 +0000 (16:29 -0400)]
Another logic bug caught by furf in ad950c8c5992937640a1e1aca8d63bb476b001f6.

14 years agoMake sure that the CSS hook getter isn't called if a forced computed style is done.
jeresig [Thu, 9 Sep 2010 20:26:30 +0000 (16:26 -0400)]
Make sure that the CSS hook getter isn't called if a forced computed style is done.

14 years agoMake sure that effect tests no longer reference the old CSS methods.
jeresig [Thu, 9 Sep 2010 19:48:28 +0000 (15:48 -0400)]
Make sure that effect tests no longer reference the old CSS methods.

14 years agoAdding in a couple private variables to effects.js that were in css.js.
jeresig [Thu, 9 Sep 2010 19:45:24 +0000 (15:45 -0400)]
Adding in a couple private variables to effects.js that were in css.js.

14 years agoMake sure that string values are returned from the height/width CSS properties.
jeresig [Thu, 9 Sep 2010 19:42:38 +0000 (15:42 -0400)]
Make sure that string values are returned from the height/width CSS properties.

14 years agoMerge branch 'master' into csshooks
jeresig [Thu, 9 Sep 2010 19:35:18 +0000 (15:35 -0400)]
Merge branch 'master' into csshooks

Conflicts:
src/css.js

14 years agoLanding a bunch of bug fixes from furf's pull request at eefcbaebb31b89b5eb360cd5ec61...
jeresig [Thu, 9 Sep 2010 19:33:06 +0000 (15:33 -0400)]
Landing a bunch of bug fixes from furf's pull request at eefcbaebb31b89b5eb360cd5ec6165b89c84e75f.

14 years agoTrim out the module wrappers during the build process. Follow-up to #7011.
jeresig [Thu, 9 Sep 2010 14:34:21 +0000 (10:34 -0400)]
Trim out the module wrappers during the build process. Follow-up to #7011.

14 years agoRemoving extraneous argument.
jeresig [Thu, 9 Sep 2010 14:20:32 +0000 (10:20 -0400)]
Removing extraneous argument.

14 years agoMake sure that jQuery is being exposed outside of core (this will be stripped during...
jeresig [Thu, 9 Sep 2010 12:23:10 +0000 (08:23 -0400)]
Make sure that jQuery is being exposed outside of core (this will be stripped during the build process). Follow-up to #7011.

14 years agoMake sure that the removeEvent and buildFragment private functions are exposed (to...
jeresig [Wed, 8 Sep 2010 22:13:35 +0000 (18:13 -0400)]
Make sure that the removeEvent and buildFragment private functions are exposed (to help with access across modules). The final API for each of these is very much in flux and will likely change before the final release. Fixes #7011.

14 years agoMake sure that jQuery works even when the individual modules are loaded separately...
jeresig [Wed, 8 Sep 2010 17:54:33 +0000 (13:54 -0400)]
Make sure that jQuery works even when the individual modules are loaded separately AND jQuery.noConflict(true) is used. Fixes #7011.

14 years agoMerge branch 'master' of github.com:jquery/jquery into csshooks
jeresig [Wed, 8 Sep 2010 17:47:56 +0000 (13:47 -0400)]
Merge branch 'master' of github.com:jquery/jquery into csshooks

14 years agoMake sure that jQuery works even when the individual modules are loaded separately...
jeresig [Wed, 8 Sep 2010 16:00:29 +0000 (12:00 -0400)]
Make sure that jQuery works even when the individual modules are loaded separately AND jQuery.noConflict(true) is used. Fixes #7011.

14 years agoadded "#main" ancestor selector to an "Only Child" and "Last Child" test to fix broke...
Karl Swedberg [Tue, 7 Sep 2010 12:53:06 +0000 (08:53 -0400)]
added "#main" ancestor selector to an "Only Child" and "Last Child" test to fix broken tests caused by QUnit commit abfab1713ccb588aa87136b199a9ddc8d1b56c4b (Aug 29, 2010)

14 years agoBroke more of the property-specific CSS logic out of the jQuery.css() function.
John Resig [Sun, 5 Sep 2010 15:01:27 +0000 (11:01 -0400)]
Broke more of the property-specific CSS logic out of the jQuery.css() function.

14 years agoFirst pass at unifying the various CSS methods in jQuery (jQuery.style, jQuery.curCSS...
John Resig [Sun, 5 Sep 2010 14:17:18 +0000 (10:17 -0400)]
First pass at unifying the various CSS methods in jQuery (jQuery.style, jQuery.curCSS, and jQuery.css are now all under jQuery.css).

14 years agoBroke apart some of the browser-specific logic for CSS handling.
John Resig [Sun, 5 Sep 2010 04:04:37 +0000 (00:04 -0400)]
Broke apart some of the browser-specific logic for CSS handling.

14 years agoSome more minor formatting tweaks.
John Resig [Sun, 5 Sep 2010 03:34:52 +0000 (23:34 -0400)]
Some more minor formatting tweaks.

14 years agoTweaking the formatting from the previous commit.
John Resig [Sun, 5 Sep 2010 03:28:17 +0000 (23:28 -0400)]
Tweaking the formatting from the previous commit.

14 years agoFirst look at css hooks. These hooks provide a way to change how jQuery handles getti...
Brandon Aaron [Fri, 3 Sep 2010 02:06:40 +0000 (21:06 -0500)]
First look at css hooks. These hooks provide a way to change how jQuery handles getting and setting certain css properties. This means normalizing properties like background-position can easily be done via plugins.

They are similar in concept to the special event hooks. Return false from the hook to revert control back to jQuery's normal processes for getting and setting certain css properties.

14 years agoFix the order of the element test arguments.
John Resig [Thu, 2 Sep 2010 20:15:54 +0000 (16:15 -0400)]
Fix the order of the element test arguments.

14 years agoTweaked the name unit tests to specify the exact nodes from which to test against.
John Resig [Thu, 2 Sep 2010 19:13:10 +0000 (15:13 -0400)]
Tweaked the name unit tests to specify the exact nodes from which to test against.

14 years agoRemove cases of :contains() where quotes are used - not using quotes follows more...
John Resig [Thu, 2 Sep 2010 18:56:32 +0000 (14:56 -0400)]
Remove cases of :contains() where quotes are used - not using quotes follows more closely with the CSS Selector recommendation.

14 years agoAdd .width() and .height() unit test for empty sets. Fix .height() test that was...
Brandon Aaron [Wed, 1 Sep 2010 16:05:35 +0000 (11:05 -0500)]
Add .width() and .height() unit test for empty sets. Fix .height() test that was masquerading as a .width() test. Made sure .width() and .height() tests were in-sync (testing the same things).

14 years agoIncrease max number of JSLint errors. This is necessary because we have several error...
Brandon Aaron [Wed, 1 Sep 2010 15:48:19 +0000 (10:48 -0500)]
Increase max number of JSLint errors. This is necessary because we have several error messages that we choose to ignore.

14 years agoSwitched to use 'in' for the setInterval/window check as it also skirts around the...
John Resig [Fri, 27 Aug 2010 22:17:07 +0000 (18:17 -0400)]
Switched to use 'in' for the setInterval/window check as it also skirts around the Safari 2 NodeList crasher. See the discussion in 94f35d05199ec1634d9c8c60d10f298f260056bd for more details.

14 years agoBlackberry 4.6 is capable of finding elements that are no longer in the DOM via getEl...
John Resig [Fri, 27 Aug 2010 19:14:30 +0000 (15:14 -0400)]
Blackberry 4.6 is capable of finding elements that are no longer in the DOM via getElementById. It only appears to happen when the node has been inside of a cloned Document Fragment. Fixes #6963.

14 years agoHandle two more cases where comments were missing in the test case, in Blackberry...
John Resig [Fri, 27 Aug 2010 18:16:27 +0000 (14:16 -0400)]
Handle two more cases where comments were missing in the test case, in Blackberry 4.6.

14 years agoUse the native isArray whenever possible. See perf test by jdalton here: http://jsper...
John Resig [Fri, 27 Aug 2010 17:15:48 +0000 (13:15 -0400)]
Use the native isArray whenever possible. See perf test by jdalton here: jsperf.com/isarray-vs-other Fixes #6825.