aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
Commit message (Collapse)AuthorAgeFilesLines
* Expose jQuery.uuid (use with caution) and make sure the expando property is ↵John Resig2010-04-241-3/+3
| | | | used in the events module.
* Made it so that you no longer need to build jQuery in order to run the test ↵jeresig2010-03-231-1/+1
| | | | suite (but you'll still need a checkout of QUnit and Sizzle, at least).
* Make sure that special remove and teardown events get called when .die() is ↵jeresig2010-03-091-28/+20
| | | | used. Additionally made sure that default actions are triggered when namespaced events are used. Fixes #6202 and #6250.
* Added in Ben Alman's proposed event.namespace property (the property holds ↵jeresig2010-03-021-5/+11
| | | | the namespaces specified in a call to trigger). Additionally fixes namespaces with .live(). Fixes #6208 and #6209.
* More changes to get jQuery in line with JSLint.jeresig2010-03-011-9/+9
|
* Land some additional tweaks related to running through JSLint.jeresig2010-03-011-1/+1
|
* Made some code tweaks related to running jQuery through JSLint (thanks to ↵jeresig2010-03-011-5/+5
| | | | Lorin Larson for the JSLint run).
* No reason to double-bind the beforeunload event. Fixes #6113.jeresig2010-02-271-2/+1
|
* Merge branch 'master' of github.com:jquery/jqueryjeresig2010-02-271-1/+2
|\
| * Make sure events exist before trying to access them in jQuery.event.handle ↵brandonaaron2010-02-271-1/+2
| | | | | | | | and removed unnecessary var statement. Fixes #6163.
* | 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.