jeresig
|
75bb2d6e51
|
Fix in logic for handling exclusive namespace testing. Fixes #6048.
|
2010-02-08 11:31:01 -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
|
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
|
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
|
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
|
3e286440d5
|
Make sure that .die() with no args works. Fixes #5789.
|
2010-01-23 16:37:12 -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 |
|
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
|
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
|
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
|
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
|
1d8b3a9af2
|
Make sure that the focusin and focusout easy-bind methods are exposed.
|
2010-01-12 17:03:34 -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
|
e9d5947b4a
|
Adding in backwards-compatiblity support for jQuery().bind/unbind/trigger - and immediately deprecating it. Please explicitly use jQuery(document) in your code.
|
2010-01-06 11:32:29 -05:00 |
|
jeresig
|
230614b4df
|
Merging in jQuery.proxy() branch.
|
2010-01-05 19:18:39 -05:00 |
|
jeresig
|
8db0dd2c64
|
Added in a holdover jQuery.event.guid for back-compat (two plugins use it: mousewheel and a datepicker). Plugin authors should work to stop using jQuery.event.guid and jQuery.event.proxy ASAP.
|
2010-01-05 19:17:28 -05:00 |
|
jeresig
|
a5dbca4a06
|
Moved jQuery.proxy() into core.
|
2009-12-31 15:06:45 -05:00 |
|
jeresig
|
40ce7f9830
|
Merge branch 'bug-5735'
|
2009-12-31 14:49:01 -05:00 |
|
jeresig
|
6cb2945837
|
Rather than declaring empty anonymous functions all around, introduce and use a single empty function. Thanks to Matt Kruse for the suggestion.
|
2009-12-31 09:50:49 -05:00 |
|
jeresig
|
ea5d514008
|
When .bind('unload') was called it accidentally went recursive, from 1bac61655b . Fixes #5688.
|
2009-12-31 00:49:53 -05:00 |
|
jeresig
|
66975de2d2
|
Remove the .bind(name, fn, thisObject) and promote jQuery.event.proxy() to jQuery.proxy() as alternative to handling scoping on callbacks. Fixes #5736.
|
2009-12-31 00:37:23 -05:00 |
|
jeresig
|
7e69fdbad4
|
Fixed spelling mistake noted in dc6b7ce3469eaadb37a151d449e8d36571d1894.
|
2009-12-21 20:19:49 -05:00 |
|
jeresig
|
3776cbe314
|
Standardize on using double-quotes for string literals.
|
2009-12-21 20:13:16 -05:00 |
|
jeresig
|
61e37d4149
|
Made a number of spacing changes to bring the code more-inline with the jQuery Core Style Guideline.
|
2009-12-21 19:58:13 -05:00 |
|
jeresig
|
36c99dc0c7
|
Tweaked the syntax of withinElement a bit.
|
2009-12-21 18:06:23 -05:00 |
|
jeresig
|
e083d15fc7
|
Tweaked a couple cases where == was used instead of ===.
|
2009-12-21 18:02:02 -05:00 |
|
Alexander Farkas
|
209751fcbd
|
Make sure that the beforeactivate event isn't accidentally prevented.
|
2009-12-21 16:24:03 -05:00 |
|
Jörn Zaefferer
|
03481a52c7
|
Stop trying to emulate the focus/blur event in IE, doesn't work as one might expect, anyway. Instead, implement the focusin/focusout events in all other browsers - which creates a much better parity across all browsers. Uses event capturing instead of bubbling to make it happen. Thanks to Alexander for the recommendation and to Joern Zaefferer for the original focus/blur delegation code.
|
2009-12-21 16:10:21 -05:00 |
|
Alexander Farkas
|
5dc6b7ce34
|
Used the patch from Alexander as the basis for a rewrite of the IE change event logic. Now has full parity with the regular change event in other browsers: Works with regular bind, works better with multiple selects, works as a regular change event (note test suite changes), works with readonly/disabled inputs, and much more. The original patch had a number of problems, including firing the change event too many times, not bubblinb properly, and not handling clicks on multi-selects properly - that should all be fixed now. Thanks Alexander for the patch pushing in the right direction.
|
2009-12-21 15:32:32 -05:00 |
|
jeresig
|
1feb92afb4
|
Make sure that we don't bind the onunload event in Opera.
|
2009-12-18 22:35:02 -05:00 |
|
jeresig
|
42f8c3add3
|
No need to use the conditional comment for binding the onunload event in IE.
|
2009-12-18 20:29:22 -05:00 |
|
jeresig
|
9997620420
|
Retooled the arguments.callee-related changes in 98ce35d52b to avoid re-declarations where possible.
|
2009-12-16 16:45:00 -05:00 |
|
jeresig
|
fe9333cc79
|
No need to use jQuery's event system for binding the onunload event in IE.
|
2009-12-16 15:42:03 -05:00 |
|
John Resig
|
253e73af51
|
Fixed typo from commit 542099a278 .
|
2009-12-11 12:49:22 -08:00 |
|
Karl Swedberg
|
1bac61655b
|
combined jQuery.bind() and jQuery.one() to make them more DRY
|
2009-12-10 14:44:30 -08:00 |
|
John Resig
|
f25eedf32a
|
Restrict the attr quick setters to only methods that specifically ask for the functionality. Fixes #5612.
|
2009-12-09 21:28:33 -08:00 |
|