jeresig
|
abcc1a76ee
|
If .attr() is run on no elements undefined should be returned (as should be the case when no attribute is found). Fixes #6012.
|
2010-02-13 02:23:38 -05:00 |
|
jeresig
|
83a044f1b5
|
Make sure that no extra whitespace is leftover after an addClass. Fixes #6050.
|
2010-02-13 02:18:38 -05:00 |
|
jeresig
|
94d925cd46
|
Make sure leading whitespace is trimmed for parseJSON. Fixes #6031.
|
2010-02-13 02:14:23 -05:00 |
|
jeresig
|
8b86004f9c
|
Make sure that fragments containing options aren't cached.
|
2010-02-13 01:50:19 -05:00 |
|
jeresig
|
7a467ed936
|
Remove the need for the internal setArray method, it was only really used by pushStack anyway. Fixes #6003.
|
2010-02-13 01:45:09 -05:00 |
|
jeresig
|
8404ad6070
|
Make sure that there are some live events before continuing on.
|
2010-02-12 19:38:57 -05:00 |
|
jeresig
|
5d36fe3210
|
Make sure that live mouseenter/mouseleave work properly. Fixes #6077.
|
2010-02-11 16:50:26 -05:00 |
|
John Resig
|
021b809ace
|
Make sure that the teardown is called after all the handlers of a type are removed. Fixes #6065.
|
2010-02-11 01:42:51 -05:00 |
|
John Resig
|
639f4931b0
|
No reason to expose the temporary _load method.
|
2010-02-11 01:23:13 -05:00 |
|
jeresig
|
35c379075c
|
Simplify the special change/submit event removal logic, per Scott's suggestion in 5267824aa3 .
|
2010-02-10 15:56:53 -05:00 |
|
jeresig
|
5267824aa3
|
Updated formatting for the change/submit special event logic. Also switched the function declarations to statements. Thanks to Garrett for the recommendation.
|
2010-02-08 23:28:15 -05:00 |
|
jeresig
|
fec02aa5cb
|
Merge branch 'master' of github.com:jquery/jquery
|
2010-02-08 11:31:13 -05:00 |
|
jeresig
|
75bb2d6e51
|
Fix in logic for handling exclusive namespace testing. Fixes #6048.
|
2010-02-08 11:31:01 -05:00 |
|
Ben Alman
|
3c5b1ca03b
|
Ok, this should actually fix #6041 :)
|
2010-02-06 11:46:44 +08:00 |
|
tomviner
|
8a66a30fec
|
spelling mistake (insead)
|
2010-02-06 10:50:57 +08:00 |
|
jeresig
|
d743899971
|
Make sure that &#...; entities are encoded properly. Fixes #6042.
|
2010-02-05 19:58:08 -05:00 |
|
jeresig
|
54bd004e53
|
Make sure that we don't try to double-encode params using the traditional style. Fixes #6041.
|
2010-02-05 19:43:31 -05:00 |
|
jeresig
|
43b3ed086d
|
Update special events to work with the internal event system changes. Also fixes #5967.
|
2010-02-05 11:02:56 -05:00 |
|
jeresig
|
be2407e233
|
Rewrote the live event handling to use the new event logic. Also added in support for live namespaced events. Fixes #5945.
|
2010-02-04 21:36:32 -05:00 |
|
jeresig
|
e7912805d6
|
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.
|
2010-02-04 00:20:52 -05:00 |
|
jeresig
|
8a4b2102ff
|
Removed extraneous nodeName check from f95147f465 commit.
|
2010-02-01 21:56:11 -05:00 |
|
Noah Sloan
|
8660ea1ab6
|
Only detach the incoming elements to replaceWith if they're DOM nodes. Fixes #5986.
|
2010-02-01 21:48:05 -05:00 |
|
jeresig
|
e76ba32ceb
|
Make sure the resulting className from removeClass is nicely trimmed. Fixes #5988.
|
2010-02-01 21:33:58 -05:00 |
|
jeresig
|
f95147f465
|
Fix for problem in IE 8 where deserialized (then reserialized) form markup was getting malformed. Thanks IE. Fixes #5998.
|
2010-02-01 21:26:47 -05:00 |
|
jeresig
|
f9417b9da9
|
Same problem happens with plain embed elements as well. Follow-up fix to #5904.
|
2010-02-01 18:52:12 -05:00 |
|
jeresig
|
1b28bba4d2
|
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.
|
2010-02-01 18:22:48 -05:00 |
|
jeresig
|
31432e048f
|
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.
|
2010-02-01 18:06:03 -05:00 |
|
jeresig
|
cb65daa399
|
The context for 'body' should still be document, in this case.
|
2010-01-29 15:04:26 -05:00 |
|
jeresig
|
4f2e209b85
|
Make sure fragment caching is only happening on nodes in the main document. Fixes #5978.
|
2010-01-29 00:22:20 -05:00 |
|
jeresig
|
388a00fe91
|
Skip around inserting a fragment when possible (insert the node directly).
|
2010-01-28 17:18:27 -05:00 |
|
jeresig
|
b8076a914b
|
Landing some minor perf optimization to jQuery().
|
2010-01-28 17:17:51 -05:00 |
|
jeresig
|
0db207da23
|
Optimize for the case where a fragment-bound element is being injected into one other element.
|
2010-01-28 16:30:37 -05:00 |
|
jeresig
|
98c7248518
|
Further optimize the empty/remove/cleanData logic.
|
2010-01-28 15:25:52 -05:00 |
|
jeresig
|
0252b78201
|
Provide a way to simulate default browser actions. Fixes #5973.
|
2010-01-28 14:34:09 -05:00 |
|
jeresig
|
e9092e9954
|
Make sure namespaces is always an array, when passed to the remove special. Follow-up to eed69eccc5 .
|
2010-01-28 14:16:52 -05:00 |
|
jeresig
|
eed69eccc5
|
Make sure that jQuery.data( elem ) always returns a data object, fixes #5971. Improve the performance of .bind() and .unbind(), fixes #5972.
|
2010-01-28 14:12:44 -05:00 |
|
jeresig
|
942f8f7f75
|
No reason to limit the initial change data store to just radio elements. Fixes #5851.
|
2010-01-27 10:06:50 -05:00 |
|
jeresig
|
0b3165fd23
|
Make sure that the correct context is being passed in for replaceWith(fn). Fixes #5798.
|
2010-01-25 19:22:28 -05:00 |
|
jeresig
|
9f17e70ae9
|
Make work wrapInner(fn) work consistently. Fixes #5799.
|
2010-01-25 19:16:23 -05:00 |
|
Robert Katic
|
55a64cf095
|
Filtering elements only. Fixed #5920
|
2010-01-26 07:51:44 +08:00 |
|
Mike Alup
|
ca90ffb332
|
Provided detailed message for JSON parse errors. Fixes #4435.
|
2010-01-25 18:48:52 -05:00 |
|
Michael Monteleone
|
bed759c95c
|
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.
|
2010-01-25 18:43:33 -05:00 |
|
jeresig
|
390186b902
|
Make sure that special.add actually copies over event namespaces and data. Fixes #5779 and #5834.
|
2010-01-25 17:01:07 -05:00 |
|
jeresig
|
0474917c9d
|
Make sure multiple bound events have their namespaces and data maintained. Fixes #3549.
|
2010-01-25 16:45:39 -05:00 |
|
jeresig
|
d24443fb55
|
Make sure that it's possible to preventDefault natively-triggered (submit, focus, blur, click) events. Fixes #5695.
|
2010-01-25 13:45:07 -05:00 |
|
jeresig
|
323270f6dc
|
Update the license URL in the header.
|
2010-01-25 09:31:40 -05:00 |
|
John Resig
|
1a14a38ff7
|
Make sure original context is maintained and not the deep extended one. Fixes #5924.
|
2010-01-25 01:08:24 -05:00 |
|
John Resig
|
f91b944cab
|
Objects with length properties weren't getting serialized properly by jQuery.param(). Fixes #5862.
|
2010-01-25 00:46:03 -05:00 |
|
John Resig
|
76236a1506
|
Use alternative technique for triggering an abort, preventing an exception from being thrown in Firefox. Fixes #5923.
|
2010-01-24 22:13:52 -05:00 |
|
John Resig
|
c639405c4d
|
Don't set the context in .load() as it stops the global ajax events from firing. Fixes #5922.
|
2010-01-24 21:58:32 -05:00 |
|
John Resig
|
6a3d0996ed
|
Make sure that XHTML-style HTML is purified in .html(). Fixes #5845.
|
2010-01-24 21:37:05 -05:00 |
|
jeresig
|
f06e0e5575
|
Expose cleanData, make sure that all bound event handlers are properly cleaned up after html/empty/remove. Fixes #5856 and #5906.
|
2010-01-23 21:20:19 -05:00 |
|
jeresig
|
4f9aa62a85
|
Added in .height(fn) and .width(fn) support. Fixes #5915.
|
2010-01-23 20:49:59 -05:00 |
|
jeresig
|
781fe8b80d
|
Make empty strings (and other non-string values) simply return null from parseJSON. Also added some parseJSON tests. Fixes #5859.
|
2010-01-23 17:08:26 -05:00 |
|
jeresig
|
0912109ffc
|
Expose the JSON parsing logic. Fixes #5914.
|
2010-01-23 16:51:51 -05:00 |
|
jeresig
|
a6ef036bb6
|
Centralize the logic for throwing exceptions. Fixes #5913.
|
2010-01-23 16:48:47 -05:00 |
|
jeresig
|
3e286440d5
|
Make sure that .die() with no args works. Fixes #5789.
|
2010-01-23 16:37:12 -05:00 |
|
jeresig
|
8ea634fd07
|
Merge branch 'master' of github.com:jquery/jquery
|
2010-01-23 12:52:39 -05:00 |
|
Matt Curry
|
f6ec9d54d1
|
Select (with a selected) fired change on first focus in IE. Fixes #5869.
|
2010-01-23 12:52:32 -05:00 |
|
Karl Swedberg
|
2c28f229e5
|
fixed offset(coordinates) returns null when no matching elements in jQuery object (fixes ticket #5888)
|
2010-01-24 01:26:35 +08:00 |
|
Karl Swedberg
|
21441b1cbc
|
Made .show() and .hide() use .animate() only if speed argument is truthy or 0.
|
2010-01-24 01:25:22 +08:00 |
|
Ben Alman
|
28ce15979f
|
fixed jQuery.dir regression introduced with 1.4 *untils patch that errored when traversing XHTML text nodes with an until test
|
2010-01-24 01:20:53 +08:00 |
|
Ben Alman
|
09ef5b7598
|
Simplification of uaMatch, based upon the patch by Ben Alman.
|
2010-01-23 12:13:46 -05:00 |
|
Irae Brasil
|
01f72026ec
|
Added support for multiple live event handlers, live hover, and live focus/blur (mapped to focusin/focusout). Fixes #5804, #5801, #5852.
|
2010-01-23 11:56:24 -05:00 |
|
Irae Brasil
|
b9ca157998
|
Make sure that live handlers don't stop inline scripts from executing. Fixes #5835.
|
2010-01-23 11:14:29 -05:00 |
|
Irae Brasil
|
150e44cdda
|
Make sure non-left-click events don't bubble. Fixes #3861.
|
2010-01-23 11:12:26 -05:00 |
|
jeresig
|
435772e29b
|
Adding in the change recommended by Alexander Farkas to fix some bugs in the change delegation logic. Fixes #5851.
|
2010-01-18 17:52:36 -05:00 |
|
jeresig
|
257a4693f4
|
Fix missing var declaration for the length iterator.
|
2010-01-18 17:19:44 -05:00 |
|
John Resig
|
155ecf42a0
|
Make sure regular settings object is set as context for all Ajax requests, if none is specified. Fixes #5838.
|
2010-01-16 10:11:01 -05:00 |
|
John Resig
|
6618ff0b0a
|
Removed some dead code from buildFragment. Thanks to Sean Catchpole for the suggestion.
|
2010-01-15 17:46:33 -05:00 |
|
John Resig
|
199a721103
|
Expose the proxy object on the object, for the benefit of plugin authors (Thanks to Justin Meyer for the suggestion).
|
2010-01-15 15:41:09 -05:00 |
|
John Resig
|
eb496f757a
|
The inArray declaration was accidentally duplicated.
|
2010-01-15 10:49:18 -05:00 |
|
John Resig
|
4397f0fd41
|
Removed extraneous thisObject references. Thanks to Matt Dunlap for the heads-up.
|
2010-01-14 01:42:08 -05:00 |
|
jeresig
|
1960f28c0b
|
Make sure no exception is thrown if no event handler is found (which is the case for applets, objects, and embeds).
|
2010-01-13 11:24:54 -05:00 |
|
jeresig
|
05aaa33957
|
Make sure that null params aren't traversed. Fixes #5794.
|
2010-01-13 09:29:01 -05:00 |
|
jeresig
|
23492fdf9f
|
Send data if a DELETE Ajax request is done. Fixes #5752.
|
2010-01-13 00:42:22 -05:00 |
|
jeresig
|
5d49335eac
|
Make sure that disconnected nodes aren't sorted/uniqued. Fixes #5791.
|
2010-01-13 00:12:18 -05:00 |
|
jeresig
|
8e53f7b5d6
|
Fixed typo in logic, also disabled function setters in this case to allow the functions to passthrough and bind.
|
2010-01-12 21:54:06 -05:00 |
|
jeresig
|
b5f077ae6a
|
Make sure that the xhr object still exists after the abort is called.
|
2010-01-12 21:44:37 -05:00 |
|
jeresig
|
1d8b3a9af2
|
Make sure that the focusin and focusout easy-bind methods are exposed.
|
2010-01-12 17:03:34 -05:00 |
|
jeresig
|
61983cbf17
|
Make sure oldAbort is only called if the xhr object still exists.
|
2010-01-12 16:50:59 -05:00 |
|
jeresig
|
dd45c324ec
|
Simplified some of the logic for handling the ajax aborts, making sure that ajaxStop isn't called twice.
|
2010-01-12 10:59:50 -05:00 |
|
jeresig
|
d60b197810
|
ajaxStop was getting called too many times, separated some of the logic into the abort method itself.
|
2010-01-12 10:47:00 -05:00 |
|
jeresig
|
7afe6dcc08
|
Make sure that Opera fires events after an aborted Ajax attempt. Fixes #5787.
|
2010-01-12 10:31:51 -05:00 |
|
Paul Irish
|
7be5ec1248
|
browser version detection revised for opera >= 10, which was reporting itself as 9.8 due to their new policy
|
2010-01-12 11:42:31 +08:00 |
|
Neeraj Singh
|
8d7965a607
|
fixed typo in comments
|
2010-01-12 11:42:22 +08:00 |
|
jeresig
|
44e6beb103
|
Make sure we do the malformed JSON check for all both JSON.parse and new Function (this helps to create uniformity between browser implementations of JSON.parse - like where Chrome allows some malformed strings. Thanks to DBJDBJ for the heads-up.
|
2010-01-11 16:43:21 -05:00 |
|
jeresig
|
23d600c66d
|
Make sure that wrapInner works on elements that have no contents. Fixes #3552.
|
2010-01-11 16:31:31 -05:00 |
|
jeresig
|
3e9ef6f5c0
|
Final pass at fixing #5785. Need to make sure that inner-nodes are detached before the remove() occurs (and it should still occur, the nodes are being obliterated.
|
2010-01-11 16:25:01 -05:00 |
|
jeresig
|
36a98b95c2
|
Make sure we use detach instead of remove in replaceWith. Fixes #5785.
|
2010-01-11 15:57:45 -05:00 |
|
jeresig
|
366039a6f0
|
Revert "Adding in backwards-compatiblity support for jQuery().bind/unbind/trigger - and immediately deprecating it. Please explicitly use jQuery(document) in your code."
This reverts commit e9d5947b4a .
|
2010-01-11 13:48:40 -05:00 |
|
jeresig
|
5a0ac24e35
|
Make sure that submit event is still bound for regular form submit events. Thanks to Mark Gibson for the fix suggestion.
|
2010-01-11 12:26:28 -05:00 |
|
jeresig
|
d6d5ed4c68
|
Merge branch 'setterargs'
|
2010-01-07 14:26:06 -05:00 |
|
jeresig
|
0e5370b89c
|
Re-ordering the args to setOffset() in case people were relying upon the old order (doubtful).
|
2010-01-07 14:08:32 -05:00 |
|
jeresig
|
4fa00369f0
|
Added in support for .offset(Function).
|
2010-01-07 14:07:21 -05:00 |
|
jeresig
|
8fa9e9d6d0
|
Make sure that .html(Function) gets the correct previous value.
|
2010-01-07 13:33:30 -05:00 |
|
jeresig
|
a9665bbe9b
|
Make sure the exception has some level of parity with the error from json2.js.
|
2010-01-07 12:25:50 -05:00 |
|
jeresig
|
308d6cdad0
|
Make sure that a parsererror is thrown whenever malformed JSON comes back from a server (so that the Ajax error handler is called). Makes it uniform across browsers that do and don't have JSON.parse support.
|
2010-01-07 12:21:58 -05:00 |
|
jeresig
|
c14fa516ae
|
Back out the try/catch logic from around JSON.parse. We should always try to use it, otherwise security will suffer.
|
2010-01-07 11:54:26 -05:00 |
|
jeresig
|
21e15219be
|
Removed .removeAttr(Function), it didn't really make sense.
|
2010-01-07 11:14:56 -05:00 |
|