aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
Commit message (Collapse)AuthorAgeFilesLines
* Change event did not fire in IE when an explicit .focus() was used. Fixes #6374.jeresig2010-10-091-1/+4
|
* Fix the case where live change was breaking if a live click was bound ahead ↵jeresig2010-10-091-0/+1
| | | | of time. Very similar to #6359. Fixes #6505.
* Set event.LiveFired to undefined in specialSubmit handler so that click ↵David Petersen2010-09-301-0/+2
| | | | events bound before the submit won't prevent the submit to fire. Fixes #6359
* Using data() on JavaScript objects sets fields directly on the object. Note ↵Dave Reed2010-09-291-3/+40
| | | | that events are now a property of a function (to avoid JSON serialization - and only in the case of JavaScript objects, not DOM nodes). Fixes #6807.
* Fix mis-type in commit e3c4e5789743eecb3cbe2b626f3a5f09c616ee4b. Thanks to ↵John Resig2010-09-281-1/+1
| | | | @jdalton for the catch.
* Tweak the logic for fixing event.which. Fixes #2338.John Resig2010-09-281-2/+2
|
* If an inline handler returns false, call event.preventDefault(). Fixes #6337.Dave Methvin2010-09-241-0/+1
|
* Don't copy event.originalTarget, it's a Netscape-specific property. Fixes #2814.dmethvin2010-09-241-1/+1
|
* Added support for map of events in live, die, delegate and undelegate. Fixes ↵Robert Katic2010-09-231-0/+8
| | | | #6282.
* Fix missing var. Thanks to @jeff-themovie for the catch.jeresig2010-09-221-1/+1
|
* Unify the means of detecting a window across the library. Fixes jQuery UI ↵jeresig2010-09-221-2/+2
| | | | bug #5438 and jQuery bugs #6575 and 6088.
* Applied the RegExp issues reported by Jeff Robinson here: ↵jeresig2010-09-221-11/+11
| | | | http://jmrware.com/articles/2010/jqueryregex/jQueryRegexes.html Additionally broke out all remaining inline RegExp. Fixes #7062.
* No need to set returnValue if preventDefault exists. Thanks kangax for the ↵jeresig2010-09-201-2/+4
| | | | catch.
* Make sure that the removeEvent and buildFragment private functions are ↵jeresig2010-09-081-2/+2
| | | | exposed (to help with access across modules). The final API for each of these is very much in flux and will likely change before the final release. Fixes #7011.
* Make sure that jQuery works even when the individual modules are loaded ↵jeresig2010-09-081-0/+4
| | | | separately AND jQuery.noConflict(true) is used. Fixes #7011.
* 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.