aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
Commit message (Collapse)AuthorAgeFilesLines
...
* | Adding in .bind(name, false), .unbind(name, false) support - an easy way to ↵jeresig2010-02-271-3/+16
| | | | | | | | just stop bubbling and the default action on an element. Fixes #6188.
* | Make it so that you can pass in event data to .click(), et. al. Fixes #6187.jeresig2010-02-261-2/+4
|/
* Make sure that unbinding on a plain javascript object works correctly. Fixes ↵jeresig2010-02-261-2/+6
| | | | #6184.
* Make sure that the correct type is set for live mouseenter/mouseleave ↵jeresig2010-02-261-0/+1
| | | | events. Fixes #6169.
* Make sure that live events bubble unless explicitly told not to, like a ↵jeresig2010-02-261-8/+20
| | | | normal event. Fixes #6182.
* Make sure that elements that have been removed also have their special ↵jeresig2010-02-131-0/+4
| | | | events cleaned up. Fixes #6084.
* Make sure that mousing over XUL elements results in no trigger of a ↵jeresig2010-02-131-16/+13
| | | | mouseleave. Fixes #6013.
* Make sure that live focus and blur events also bind to the regular events, ↵jeresig2010-02-131-1/+8
| | | | to handle triggered events. Fixes #6055.
* When binding a change directly to a file input just passthrough to the ↵jeresig2010-02-131-0/+4
| | | | normal bind. A temporary fix for #5997, needs more investigation.
* Make sure that there are some live events before continuing on.jeresig2010-02-121-1/+1
|
* Make sure that live mouseenter/mouseleave work properly. Fixes #6077.jeresig2010-02-111-8/+16
|
* Make sure that the teardown is called after all the handlers of a type are ↵John Resig2010-02-111-1/+1
| | | | removed. Fixes #6065.
* Simplify the special change/submit event removal logic, per Scott's ↵jeresig2010-02-101-5/+2
| | | | suggestion in 5267824aa36f0fcecb944a4daf0b99d6e01460fd.
* Updated formatting for the change/submit special event logic. Also switched ↵jeresig2010-02-081-83/+84
| | | | the function declarations to statements. Thanks to Garrett for the recommendation.
* Fix in logic for handling exclusive namespace testing. Fixes #6048.jeresig2010-02-081-2/+2
|
* Update special events to work with the internal event system changes. Also ↵jeresig2010-02-051-15/+17
| | | | fixes #5967.
* Rewrote the live event handling to use the new event logic. Also added in ↵jeresig2010-02-041-69/+84
| | | | support for live namespaced events. Fixes #5945.
* A large refactor of the event handling logic. Data and namespace information ↵jeresig2010-02-041-149/+142
| | | | 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.
* Add .delegate() and .undelegate(). An alternative to using .live() which ↵jeresig2010-02-011-6/+22
| | | | goes from a single root and filters by the specified selectors. Should be used like do: .delegate(td, hover, someFn);. Fixes #6005.
* Further optimize the empty/remove/cleanData logic.jeresig2010-01-281-5/+9
|
* Provide a way to simulate default browser actions. Fixes #5973.jeresig2010-01-281-2/+5
|
* Make sure namespaces is always an array, when passed to the remove special. ↵jeresig2010-01-281-2/+5
| | | | Follow-up to eed69eccc54d010889b5d8495320538d7ceb4e51.
* Make sure that jQuery.data( elem ) always returns a data object, fixes ↵jeresig2010-01-281-41/+79
| | | | #5971. Improve the performance of .bind() and .unbind(), fixes #5972.
* No reason to limit the initial change data store to just radio elements. ↵jeresig2010-01-271-4/+1
| | | | Fixes #5851.
* Make sure that special.add actually copies over event namespaces and data. ↵jeresig2010-01-251-0/+2
| | | | Fixes #5779 and #5834.
* Make sure multiple bound events have their namespaces and data maintained. ↵jeresig2010-01-251-3/+12
| | | | Fixes #3549.
* Make sure that it's possible to preventDefault natively-triggered (submit, ↵jeresig2010-01-251-20/+32
| | | | focus, blur, click) events. Fixes #5695.
* Make sure that .die() with no args works. Fixes #5789.jeresig2010-01-231-3/+3
|
* Select (with a selected) fired change on first focus in IE. Fixes #5869.Matt Curry2010-01-231-4/+4
|
* Added support for multiple live event handlers, live hover, and live ↵Irae Brasil2010-01-231-9/+24
| | | | focus/blur (mapped to focusin/focusout). Fixes #5804, #5801, #5852.
* Make sure that live handlers don't stop inline scripts from executing. Fixes ↵Irae Brasil2010-01-231-1/+1
| | | | #5835.
* Make sure non-left-click events don't bubble. Fixes #3861.Irae Brasil2010-01-231-0/+5
|
* Adding in the change recommended by Alexander Farkas to fix some bugs in the ↵jeresig2010-01-181-2/+2
| | | | change delegation logic. Fixes #5851.
* Fix missing var declaration for the length iterator.jeresig2010-01-181-1/+1
|
* Expose the proxy object on the object, for the benefit of plugin authors ↵John Resig2010-01-151-0/+2
| | | | (Thanks to Justin Meyer for the suggestion).
* Removed extraneous thisObject references. Thanks to Matt Dunlap for the ↵John Resig2010-01-141-2/+1
| | | | heads-up.
* Make sure no exception is thrown if no event handler is found (which is the ↵jeresig2010-01-131-0/+6
| | | | case for applets, objects, and embeds).
* Fixed typo in logic, also disabled function setters in this case to allow ↵jeresig2010-01-121-2/+2
| | | | the functions to passthrough and bind.
* Make sure that the focusin and focusout easy-bind methods are exposed.jeresig2010-01-121-1/+1
|
* Revert "Adding in backwards-compatiblity support for ↵jeresig2010-01-111-18/+5
| | | | | | jQuery().bind/unbind/trigger - and immediately deprecating it. Please explicitly use jQuery(document) in your code." This reverts commit e9d5947b4abbc052046585227892da0adcd56caf.
* Make sure that submit event is still bound for regular form submit events. ↵jeresig2010-01-111-0/+3
| | | | Thanks to Mark Gibson for the fix suggestion.
* Adding in backwards-compatiblity support for jQuery().bind/unbind/trigger - ↵jeresig2010-01-061-5/+18
| | | | and immediately deprecating it. Please explicitly use jQuery(document) in your code.
* Merging in jQuery.proxy() branch.jeresig2010-01-051-29/+16
|\
| * Added in a holdover jQuery.event.guid for back-compat (two plugins use it: ↵jeresig2010-01-051-0/+4
| | | | | | | | mousewheel and a datepicker). Plugin authors should work to stop using jQuery.event.guid and jQuery.event.proxy ASAP.
| * Moved jQuery.proxy() into core.jeresig2009-12-311-20/+3
| |
| * Remove the .bind(name, fn, thisObject) and promote jQuery.event.proxy() to ↵jeresig2009-12-311-30/+30
| | | | | | | | jQuery.proxy() as alternative to handling scoping on callbacks. Fixes #5736.
* | Merge branch 'bug-5735'jeresig2009-12-311-1/+1
|\ \
| * | Rather than declaring empty anonymous functions all around, introduce and ↵jeresig2009-12-311-1/+1
| |/ | | | | | | use a single empty function. Thanks to Matt Kruse for the suggestion.
* / When .bind('unload') was called it accidentally went recursive, from ↵jeresig2009-12-311-3/+5
|/ | | | 1bac61655b6c323ab4bcfc65b0d95c1587dd8503. Fixes #5688.
* Fixed spelling mistake noted in dc6b7ce3469eaadb37a151d449e8d36571d1894.jeresig2009-12-211-1/+1
|