jquery.git
14 years agoRemove the need for the return in sizzle-jquery and just remove the attempt to expose...
jeresig [Tue, 2 Mar 2010 02:56:08 +0000 (21:56 -0500)]
Remove the need for the return in sizzle-jquery and just remove the attempt to expose Sizzle completely. jQuery is 100% passing JSLint ('make lint') now.

14 years agoAdded in integrated JSLint checking against the jQuery source. Just run 'make lint...
jeresig [Tue, 2 Mar 2010 02:51:44 +0000 (21:51 -0500)]
Added in integrated JSLint checking against the jQuery source. Just run 'make lint' to see the result.

14 years agoMore changes to get jQuery in line with JSLint.
jeresig [Tue, 2 Mar 2010 02:24:49 +0000 (21:24 -0500)]
More changes to get jQuery in line with JSLint.

14 years agoWe don't want to increment the Ajax counter if there isn't a global event.
jeresig [Tue, 2 Mar 2010 00:31:13 +0000 (19:31 -0500)]
We don't want to increment the Ajax counter if there isn't a global event.

14 years agoLand some additional tweaks related to running through JSLint.
jeresig [Mon, 1 Mar 2010 23:19:29 +0000 (18:19 -0500)]
Land some additional tweaks related to running through JSLint.

14 years agoFixed some cases where expression, expression was used and shouldn't be.
jeresig [Mon, 1 Mar 2010 21:26:57 +0000 (16:26 -0500)]
Fixed some cases where expression, expression was used and shouldn't be.

14 years agoMade some code tweaks related to running jQuery through JSLint (thanks to Lorin Larso...
jeresig [Mon, 1 Mar 2010 17:44:56 +0000 (12:44 -0500)]
Made some code tweaks related to running jQuery through JSLint (thanks to Lorin Larson for the JSLint run).

14 years agoAdding unit tests to make sure .scrollTop() and .scrollLeft() work cross-frame.
brandonaaron [Sun, 28 Feb 2010 16:55:59 +0000 (10:55 -0600)]
Adding unit tests to make sure .scrollTop() and .scrollLeft() work cross-frame.

14 years agoUse correct window reference in offset to work properly cross-frame. Fixes #6190.
brandonaaron [Sun, 28 Feb 2010 01:43:23 +0000 (19:43 -0600)]
Use correct window reference in offset to work properly cross-frame. Fixes #6190.

14 years agoNo reason to double-bind the beforeunload event. Fixes #6113.
jeresig [Sat, 27 Feb 2010 15:03:43 +0000 (10:03 -0500)]
No reason to double-bind the beforeunload event. Fixes #6113.

14 years agoAttach data directly to plain objects, no reason to use the central jQuery.cache...
jeresig [Sat, 27 Feb 2010 14:49:58 +0000 (09:49 -0500)]
Attach data directly to plain objects, no reason to use the central jQuery.cache. Fixes #6189.

14 years agoMerge branch 'master' of github.com:jquery/jquery
jeresig [Sat, 27 Feb 2010 14:02:18 +0000 (09:02 -0500)]
Merge branch 'master' of github.com:jquery/jquery

14 years agoAdding in .bind(name, false), .unbind(name, false) support - an easy way to just...
jeresig [Sat, 27 Feb 2010 14:02:13 +0000 (09:02 -0500)]
Adding in .bind(name, false), .unbind(name, false) support - an easy way to just stop bubbling and the default action on an element. Fixes #6188.

14 years agoMake sure events exist before trying to access them in jQuery.event.handle and remove...
brandonaaron [Sat, 27 Feb 2010 07:31:33 +0000 (01:31 -0600)]
Make sure events exist before trying to access them in jQuery.event.handle and removed unnecessary var statement. Fixes #6163.

14 years agoMake it so that you can pass in event data to .click(), et. al. Fixes #6187.
jeresig [Sat, 27 Feb 2010 01:01:19 +0000 (20:01 -0500)]
Make it so that you can pass in event data to .click(), et. al. Fixes #6187.

14 years agoMake sure that undefined is always returned for undefined data properties. Fixes...
jeresig [Fri, 26 Feb 2010 17:35:04 +0000 (12:35 -0500)]
Make sure that undefined is always returned for undefined data properties. Fixes #6166.

14 years agoMake sure that unbinding on a plain javascript object works correctly. Fixes #6184.
jeresig [Fri, 26 Feb 2010 16:32:12 +0000 (11:32 -0500)]
Make sure that unbinding on a plain javascript object works correctly. Fixes #6184.

14 years agoMake sure that the correct type is set for live mouseenter/mouseleave events. Fixes...
jeresig [Fri, 26 Feb 2010 16:23:49 +0000 (11:23 -0500)]
Make sure that the correct type is set for live mouseenter/mouseleave events. Fixes #6169.

14 years agoMake sure that live events bubble unless explicitly told not to, like a normal event...
jeresig [Fri, 26 Feb 2010 14:26:14 +0000 (09:26 -0500)]
Make sure that live events bubble unless explicitly told not to, like a normal event. Fixes #6182.

14 years agoUpdating the source version to 1.4.3pre.
jeresig [Sun, 14 Feb 2010 03:33:57 +0000 (22:33 -0500)]
Updating the source version to 1.4.3pre.

14 years agoTagging the 1.4.2 release.
jeresig [Sun, 14 Feb 2010 03:33:48 +0000 (22:33 -0500)]
Tagging the 1.4.2 release.

14 years agoNo need to run trim on every class iteration in addClass, thanks for the heads-up...
jeresig [Sat, 13 Feb 2010 19:30:27 +0000 (14:30 -0500)]
No need to run trim on every class iteration in addClass, thanks for the heads-up Leeoniya.

14 years agoAdapt the nbsp entity test for Opera (output isn't as important as the fact that...
jeresig [Sat, 13 Feb 2010 12:05:39 +0000 (07:05 -0500)]
Adapt the nbsp entity test for Opera (output isn't as important as the fact that it's getting converted.

14 years agoFound a better detect for deleting an expando, added back in removeAttribute as it...
jeresig [Sat, 13 Feb 2010 11:57:58 +0000 (06:57 -0500)]
Found a better detect for deleting an expando, added back in removeAttribute as it does work in IE.

14 years agoClean up expando removal code - only try to delete the expando from an element if...
jeresig [Sat, 13 Feb 2010 11:32:20 +0000 (06:32 -0500)]
Clean up expando removal code - only try to delete the expando from an element if it's possible.

14 years agoMake sure that elements that have been removed also have their special events cleaned...
jeresig [Sat, 13 Feb 2010 11:10:43 +0000 (06:10 -0500)]
Make sure that elements that have been removed also have their special events cleaned up. Fixes #6084.

14 years agoMake sure that mousing over XUL elements results in no trigger of a mouseleave. Fixes...
jeresig [Sat, 13 Feb 2010 10:45:48 +0000 (05:45 -0500)]
Make sure that mousing over XUL elements results in no trigger of a mouseleave. Fixes #6013.

14 years agoMake sure that live focus and blur events also bind to the regular events, to handle...
jeresig [Sat, 13 Feb 2010 10:37:17 +0000 (05:37 -0500)]
Make sure that live focus and blur events also bind to the regular events, to handle triggered events. Fixes #6055.

14 years agoWhen binding a change directly to a file input just passthrough to the normal bind...
jeresig [Sat, 13 Feb 2010 09:40:26 +0000 (04:40 -0500)]
When binding a change directly to a file input just passthrough to the normal bind. A temporary fix for #5997, needs more investigation.

14 years agoDon't inject style elements using innerHTML as they will go away in IE. Fixes #5977.
jeresig [Sat, 13 Feb 2010 08:30:45 +0000 (03:30 -0500)]
Don't inject style elements using innerHTML as they will go away in IE. Fixes #5977.

14 years agoAdded some tests to test repeated injected of scripts. Was fixed when fixing #5094.
jeresig [Sat, 13 Feb 2010 08:25:27 +0000 (03:25 -0500)]
Added some tests to test repeated injected of scripts. Was fixed when fixing #5094.

14 years agoMake sure that we don't try to use a detached node (that was in a fragment) as a...
jeresig [Sat, 13 Feb 2010 08:14:00 +0000 (03:14 -0500)]
Make sure that we don't try to use a detached node (that was in a fragment) as a fragment in IE. Fixes #5829.

14 years agoMake sure the fragment isn't used if it's not the same set we're working with. Fixes...
jeresig [Sat, 13 Feb 2010 07:49:04 +0000 (02:49 -0500)]
Make sure the fragment isn't used if it's not the same set we're working with. Fixes #6068.

14 years agoRename internal .getText to maintain parity between it and the primary .text(). Fixes...
jeresig [Sat, 13 Feb 2010 07:26:50 +0000 (02:26 -0500)]
Rename internal .getText to maintain parity between it and the primary .text(). Fixes #6094.

14 years agoIf .attr() is run on no elements undefined should be returned (as should be the case...
jeresig [Sat, 13 Feb 2010 07:23:38 +0000 (02:23 -0500)]
If .attr() is run on no elements undefined should be returned (as should be the case when no attribute is found). Fixes #6012.

14 years agoMake sure that no extra whitespace is leftover after an addClass. Fixes #6050.
jeresig [Sat, 13 Feb 2010 07:18:38 +0000 (02:18 -0500)]
Make sure that no extra whitespace is leftover after an addClass. Fixes #6050.

14 years agoMake sure leading whitespace is trimmed for parseJSON. Fixes #6031.
jeresig [Sat, 13 Feb 2010 07:14:23 +0000 (02:14 -0500)]
Make sure leading whitespace is trimmed for parseJSON. Fixes #6031.

14 years agoMake sure that fragments containing options aren't cached.
jeresig [Sat, 13 Feb 2010 06:50:19 +0000 (01:50 -0500)]
Make sure that fragments containing options aren't cached.

14 years agoRemove the need for the internal setArray method, it was only really used by pushStac...
jeresig [Sat, 13 Feb 2010 06:45:09 +0000 (01:45 -0500)]
Remove the need for the internal setArray method, it was only really used by pushStack anyway. Fixes #6003.

14 years agoMake sure that there are some live events before continuing on.
jeresig [Sat, 13 Feb 2010 00:38:57 +0000 (19:38 -0500)]
Make sure that there are some live events before continuing on.

14 years agoMake sure that live mouseenter/mouseleave work properly. Fixes #6077.
jeresig [Thu, 11 Feb 2010 21:50:26 +0000 (16:50 -0500)]
Make sure that live mouseenter/mouseleave work properly. Fixes #6077.

14 years agoMake sure that the teardown is called after all the handlers of a type are removed...
John Resig [Thu, 11 Feb 2010 06:42:51 +0000 (01:42 -0500)]
Make sure that the teardown is called after all the handlers of a type are removed. Fixes #6065.

14 years agoNo reason to expose the temporary _load method.
John Resig [Thu, 11 Feb 2010 06:23:13 +0000 (01:23 -0500)]
No reason to expose the temporary _load method.

14 years agoIgnore potential error codes from Github in doing a clone. Fixes #6049.
Iraê Carvalho [Wed, 10 Feb 2010 21:40:48 +0000 (16:40 -0500)]
Ignore potential error codes from Github in doing a clone. Fixes #6049.

14 years agoSimplify the special change/submit event removal logic, per Scott's suggestion in...
jeresig [Wed, 10 Feb 2010 20:56:53 +0000 (15:56 -0500)]
Simplify the special change/submit event removal logic, per Scott's suggestion in 5267824aa36f0fcecb944a4daf0b99d6e01460fd.

14 years agoUpdated formatting for the change/submit special event logic. Also switched the funct...
jeresig [Tue, 9 Feb 2010 04:28:15 +0000 (23:28 -0500)]
Updated formatting for the change/submit special event logic. Also switched the function declarations to statements. Thanks to Garrett for the recommendation.

14 years agoMerge branch 'master' of github.com:jquery/jquery
jeresig [Mon, 8 Feb 2010 16:31:13 +0000 (11:31 -0500)]
Merge branch 'master' of github.com:jquery/jquery

14 years agoFix in logic for handling exclusive namespace testing. Fixes #6048.
jeresig [Mon, 8 Feb 2010 16:31:01 +0000 (11:31 -0500)]
Fix in logic for handling exclusive namespace testing. Fixes #6048.

14 years agoOk, this should actually fix #6041 :)
Ben Alman [Sat, 6 Feb 2010 02:43:10 +0000 (10:43 +0800)]
Ok, this should actually fix #6041 :)

14 years agospelling mistake (insead)
tomviner [Fri, 5 Feb 2010 17:31:49 +0000 (01:31 +0800)]
spelling mistake (insead)

14 years agoMake sure that &#...; entities are encoded properly. Fixes #6042.
jeresig [Sat, 6 Feb 2010 00:58:08 +0000 (19:58 -0500)]
Make sure that &#...; entities are encoded properly. Fixes #6042.

14 years agoMake sure that we don't try to double-encode params using the traditional style....
jeresig [Sat, 6 Feb 2010 00:43:31 +0000 (19:43 -0500)]
Make sure that we don't try to double-encode params using the traditional style. Fixes #6041.

14 years agoUpdate special events to work with the internal event system changes. Also fixes...
jeresig [Fri, 5 Feb 2010 16:02:56 +0000 (11:02 -0500)]
Update special events to work with the internal event system changes. Also fixes #5967.

14 years agoAdd in a test for testing the performance of event handling.
jeresig [Fri, 5 Feb 2010 03:43:23 +0000 (22:43 -0500)]
Add in a test for testing the performance of event handling.

14 years agoUpdate benchmark basis file to jQuery 1.3.2.
jeresig [Fri, 5 Feb 2010 03:03:32 +0000 (22:03 -0500)]
Update benchmark basis file to jQuery 1.3.2.

14 years agoReformat benchamrk function.
jeresig [Fri, 5 Feb 2010 03:02:27 +0000 (22:02 -0500)]
Reformat benchamrk function.

14 years agoRewrote the live event handling to use the new event logic. Also added in support...
jeresig [Fri, 5 Feb 2010 02:36:32 +0000 (21:36 -0500)]
Rewrote the live event handling to use the new event logic. Also added in support for live namespaced events. Fixes #5945.

14 years agoAdded some more tests for checking the execution order of events (from last night...
jeresig [Thu, 4 Feb 2010 14:23:50 +0000 (09:23 -0500)]
Added some more tests for checking the execution order of events (from last night's changes - routes around Chrome's busted object looping abilities).

14 years agoForgot to land Justin's tests for the event fixes.
Justin Meyer [Thu, 4 Feb 2010 05:49:46 +0000 (00:49 -0500)]
Forgot to land Justin's tests for the event fixes.

14 years agoA large refactor of the event handling logic. Data and namespace information is maint...
jeresig [Thu, 4 Feb 2010 05:20:52 +0000 (00:20 -0500)]
A large refactor of the event handling logic. Data and namespace information is maintained in a separate object now, no longer on the event handler. Proxy functions are no longer needed, as a result. Additionally execution order of the handlers is maintained, fixing #4261, and the execution of handlers is maintained even while they're being removed. Live events will be refactored separately.

14 years agoRemoved extraneous nodeName check from f95147f465932cb91e1a6aace50c556820ca4074 commit.
jeresig [Tue, 2 Feb 2010 02:56:11 +0000 (21:56 -0500)]
Removed extraneous nodeName check from f95147f465932cb91e1a6aace50c556820ca4074 commit.

14 years agoAdding in some more replaceWith tests for #5917.
Neeraj Singh [Tue, 2 Feb 2010 02:53:31 +0000 (21:53 -0500)]
Adding in some more replaceWith tests for #5917.

14 years agoOnly detach the incoming elements to replaceWith if they're DOM nodes. Fixes #5986.
Noah Sloan [Tue, 2 Feb 2010 02:48:05 +0000 (21:48 -0500)]
Only detach the incoming elements to replaceWith if they're DOM nodes. Fixes #5986.

14 years agoMake sure the resulting className from removeClass is nicely trimmed. Fixes #5988.
jeresig [Tue, 2 Feb 2010 02:33:58 +0000 (21:33 -0500)]
Make sure the resulting className from removeClass is nicely trimmed. Fixes #5988.

14 years agoFix for problem in IE 8 where deserialized (then reserialized) form markup was gettin...
jeresig [Tue, 2 Feb 2010 02:26:47 +0000 (21:26 -0500)]
Fix for problem in IE 8 where deserialized (then reserialized) form markup was getting malformed. Thanks IE. Fixes #5998.

14 years agoSame problem happens with plain embed elements as well. Follow-up fix to #5904.
jeresig [Mon, 1 Feb 2010 23:52:12 +0000 (18:52 -0500)]
Same problem happens with plain embed elements as well. Follow-up fix to #5904.

14 years agoMake sure that injection of object elements continues to work in IE 6. Really hard...
jeresig [Mon, 1 Feb 2010 23:22:48 +0000 (18:22 -0500)]
Make sure that injection of object elements continues to work in IE 6. Really hard to unit test this in a meanigful manner (the result is a visually broken plugin). Will need to be diligent about watching for this in the future. Fixes #5094.

14 years agoAdd .delegate() and .undelegate(). An alternative to using .live() which goes from...
jeresig [Mon, 1 Feb 2010 23:06:03 +0000 (18:06 -0500)]
Add .delegate() and .undelegate(). An alternative to using .live() which goes from a single root and filters by the specified selectors. Should be used like do: .delegate(td, hover, someFn);. Fixes #6005.

14 years agoThe context for 'body' should still be document, in this case.
jeresig [Fri, 29 Jan 2010 20:04:26 +0000 (15:04 -0500)]
The context for 'body' should still be document, in this case.

14 years agoMake sure fragment caching is only happening on nodes in the main document. Fixes...
jeresig [Fri, 29 Jan 2010 05:22:20 +0000 (00:22 -0500)]
Make sure fragment caching is only happening on nodes in the main document. Fixes #5978.

14 years agoSkip around inserting a fragment when possible (insert the node directly).
jeresig [Thu, 28 Jan 2010 22:18:27 +0000 (17:18 -0500)]
Skip around inserting a fragment when possible (insert the node directly).

14 years agoLanding some minor perf optimization to jQuery().
jeresig [Thu, 28 Jan 2010 22:17:51 +0000 (17:17 -0500)]
Landing some minor perf optimization to jQuery().

14 years agoOptimize for the case where a fragment-bound element is being injected into one other...
jeresig [Thu, 28 Jan 2010 21:30:37 +0000 (16:30 -0500)]
Optimize for the case where a fragment-bound element is being injected into one other element.

14 years agoFurther optimize the empty/remove/cleanData logic.
jeresig [Thu, 28 Jan 2010 20:25:52 +0000 (15:25 -0500)]
Further optimize the empty/remove/cleanData logic.

14 years agoProvide a way to simulate default browser actions. Fixes #5973.
jeresig [Thu, 28 Jan 2010 19:34:09 +0000 (14:34 -0500)]
Provide a way to simulate default browser actions. Fixes #5973.

14 years agoAdd a new build mode to the Makefile that doesn't try to pull from external sources...
jeresig [Thu, 28 Jan 2010 19:18:20 +0000 (14:18 -0500)]
Add a new build mode to the Makefile that doesn't try to pull from external sources (assumes that they're already built and not changing frequently).

14 years agoMake sure namespaces is always an array, when passed to the remove special. Follow...
jeresig [Thu, 28 Jan 2010 19:16:52 +0000 (14:16 -0500)]
Make sure namespaces is always an array, when passed to the remove special. Follow-up to eed69eccc54d010889b5d8495320538d7ceb4e51.

14 years agoMake sure that jQuery.data( elem ) always returns a data object, fixes #5971. Improve...
jeresig [Thu, 28 Jan 2010 19:12:44 +0000 (14:12 -0500)]
Make sure that jQuery.data( elem ) always returns a data object, fixes #5971. Improve the performance of .bind() and .unbind(), fixes #5972.

14 years agoNo reason to limit the initial change data store to just radio elements. Fixes #5851.
jeresig [Wed, 27 Jan 2010 15:06:50 +0000 (10:06 -0500)]
No reason to limit the initial change data store to just radio elements. Fixes #5851.

14 years agoUpdating the source version to 1.4.2pre.
jeresig [Tue, 26 Jan 2010 00:43:40 +0000 (19:43 -0500)]
Updating the source version to 1.4.2pre.

14 years agoTagging the 1.4.1 release.
jeresig [Tue, 26 Jan 2010 00:43:33 +0000 (19:43 -0500)]
Tagging the 1.4.1 release.

14 years agoMake sure that the correct context is being passed in for replaceWith(fn). Fixes...
jeresig [Tue, 26 Jan 2010 00:22:28 +0000 (19:22 -0500)]
Make sure that the correct context is being passed in for replaceWith(fn). Fixes #5798.

14 years agoMake work wrapInner(fn) work consistently. Fixes #5799.
jeresig [Tue, 26 Jan 2010 00:16:23 +0000 (19:16 -0500)]
Make work wrapInner(fn) work consistently. Fixes #5799.

14 years agoFiltering elements only. Fixed #5920
Robert Katic [Sun, 24 Jan 2010 17:19:46 +0000 (01:19 +0800)]
Filtering elements only. Fixed #5920

14 years agoProvided detailed message for JSON parse errors. Fixes #4435.
Mike Alup [Mon, 25 Jan 2010 23:48:52 +0000 (18:48 -0500)]
Provided detailed message for JSON parse errors. Fixes #4435.

14 years agoMake sure that checked state is cloned properly. Based upon the patch by Michael...
Michael Monteleone [Mon, 25 Jan 2010 23:43:33 +0000 (18:43 -0500)]
Make sure that checked state is cloned properly. Based upon the patch by Michael, required better test cases and in doing so found more edge cases. Introduced a new check into jQuery.support as a result. Fixes #5929.

14 years agoMake sure that special.add actually copies over event namespaces and data. Fixes...
jeresig [Mon, 25 Jan 2010 22:01:07 +0000 (17:01 -0500)]
Make sure that special.add actually copies over event namespaces and data. Fixes #5779 and #5834.

14 years agoMake sure multiple bound events have their namespaces and data maintained. Fixes...
jeresig [Mon, 25 Jan 2010 21:45:39 +0000 (16:45 -0500)]
Make sure multiple bound events have their namespaces and data maintained. Fixes #3549.

14 years agoCleaned up divs that should've been removed after a test run.
jeresig [Mon, 25 Jan 2010 20:18:51 +0000 (15:18 -0500)]
Cleaned up divs that should've been removed after a test run.

14 years agoMake sure that it's possible to preventDefault natively-triggered (submit, focus...
jeresig [Mon, 25 Jan 2010 18:45:07 +0000 (13:45 -0500)]
Make sure that it's possible to preventDefault natively-triggered (submit, focus, blur, click) events. Fixes #5695.

14 years agoUpdate the license URL in the header.
jeresig [Mon, 25 Jan 2010 14:31:40 +0000 (09:31 -0500)]
Update the license URL in the header.

14 years agoMake sure original context is maintained and not the deep extended one. Fixes #5924.
John Resig [Mon, 25 Jan 2010 06:08:24 +0000 (01:08 -0500)]
Make sure original context is maintained and not the deep extended one. Fixes #5924.

14 years agoObjects with length properties weren't getting serialized properly by jQuery.param...
John Resig [Mon, 25 Jan 2010 05:46:03 +0000 (00:46 -0500)]
Objects with length properties weren't getting serialized properly by jQuery.param(). Fixes #5862.

14 years agoUse alternative technique for triggering an abort, preventing an exception from being...
John Resig [Mon, 25 Jan 2010 03:13:52 +0000 (22:13 -0500)]
Use alternative technique for triggering an abort, preventing an exception from being thrown in Firefox. Fixes #5923.

14 years agoDon't set the context in .load() as it stops the global ajax events from firing....
John Resig [Mon, 25 Jan 2010 02:58:32 +0000 (21:58 -0500)]
Don't set the context in .load() as it stops the global ajax events from firing. Fixes #5922.

14 years agoMake sure that XHTML-style HTML is purified in .html(). Fixes #5845.
John Resig [Mon, 25 Jan 2010 02:37:05 +0000 (21:37 -0500)]
Make sure that XHTML-style HTML is purified in .html(). Fixes #5845.

14 years agoExpose cleanData, make sure that all bound event handlers are properly cleaned up...
jeresig [Sun, 24 Jan 2010 02:20:19 +0000 (21:20 -0500)]
Expose cleanData, make sure that all bound event handlers are properly cleaned up after html/empty/remove. Fixes #5856 and #5906.

14 years agoAdded in .height(fn) and .width(fn) support. Fixes #5915.
jeresig [Sun, 24 Jan 2010 01:49:59 +0000 (20:49 -0500)]
Added in .height(fn) and .width(fn) support. Fixes #5915.

14 years agoMake empty strings (and other non-string values) simply return null from parseJSON...
jeresig [Sat, 23 Jan 2010 22:08:26 +0000 (17:08 -0500)]
Make empty strings (and other non-string values) simply return null from parseJSON. Also added some parseJSON tests. Fixes #5859.

14 years agoMoved add() tests from core to traversing.
jeresig [Sat, 23 Jan 2010 21:54:24 +0000 (16:54 -0500)]
Moved add() tests from core to traversing.