aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/event.js
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fix some whitespace issues.Anton M2011-02-151-6/+6
| |
* | Fixes #7922. Copy the donor event when simulating a bubbling submit in IE so ↵Dave Methvin2011-02-151-0/+11
| | | | | | | | that we don't accidentally stop propagation on it. Remove a bunch of return statements that could also cancel the event. DRY out the liveFired change from #6359 by moving it to the trigger() function.
* | Fix some unscoped tests which failed after recent changes to QUnit.Anton M2011-02-151-1/+1
| |
* | Make sure .clone(true) correctly clones namespaced events. Fixes #4537.Anton M2011-02-101-6/+13
| |
* | Fix some whitespace issues. Improve and correct an events test.Anton M2011-02-101-30/+26
| |
* | Update $.data to use a function instead of an object when attaching to JS ↵Colin Snover2011-02-071-3/+2
| | | | | | | | objects in order to hide attached metadata from JSON.stringify. Remove event.js code that was doing this before specifically for events, which is now redundant. Fixes #8108. 1.5-stable
* | Revert "Make sure that focusin/focusout bubbles in non-IE browsers." This ↵jeresig2011-01-211-20/+0
| | | | | | | | | | | | | | | | | | | | | | was causing problems with the focusin event, see: #7340. This reverts commit 88068f82c199847d3679b130664dd91cc2e89f00. Conflicts: src/event.js test/unit/event.js
* | Merge in data_nocollide branch. Fixes #6968, improves unit testing framework ↵Colin Snover2011-01-171-13/+48
|\ \ | | | | | | | | | checks for leaky stuff.
| * | Update unit tests with a leak detection mechanism for the various jQuery ↵Colin Snover2011-01-091-4/+37
| | | | | | | | | | | | globals and fix all leaks in the tests.
| * | Change the way jQuery.data works so that there is no longer a chance of ↵Colin Snover2011-01-091-9/+11
| |/ | | | | | | collision between user data and internal data. Fixes #6968.
* | Merging pull request 183 for #7793.jeresig2011-01-171-4/+12
|\ \ | |/ |/|
| * Update test case to feature-detect Opera's lack of defaultPrevented and skip ↵Dave Methvin2011-01-151-1/+8
| | | | | | | | the test for it.
| * Test for standard createEvent before IE-specific click method.Dave Methvin2010-12-271-7/+4
| | | | | | | | Don't fallback to fake click; let's see which browsers fail, if any.
| * When a native browser event is bubbling up the DOM, make sure that the ↵Dave Methvin2010-12-231-0/+38
| | | | | | | | correct isDefaultPrevented value is reflected by jQuery's Event object. Fixes #7793.
* | Clean trailing whitespace from all files.Colin Snover2010-12-301-129/+129
| |
* | When a native browser event is bubbling up the DOM, make sure that the ↵Dave Methvin2010-12-271-0/+35
|/ | | | correct isDefaultPrevented value is reflected by jQuery's Event object. Fixes #7793.
* Make sure custom events named "submit" can be bound to non DOM elements in ↵Anton M2010-11-211-3/+10
| | | | IE too. Fixes 6398.
* Honor stopImmediatePropagation for live/delegate event handlers. Fixes #7217.dmethvin2010-10-251-0/+30
|
* Fixes #7229 and #5803rwldrn2010-10-241-0/+20
|
* Fix the number of change tests and remove textarea tests.jeresig2010-10-141-32/+6
|
* Use prepend for the focuin test (to avoid making the test suite jump).jeresig2010-10-141-9/+15
|
* Make sure that focusin/focusout bubbles in non-IE browsers.Justin Meyer2010-10-131-1/+15
|
* Merge branch 'bug7150' of http://github.com/csnover/jqueryJohn Resig2010-10-121-1/+4
|\
| * Fix patch for #7150, which was not deleting the events object properly on ↵Colin Snover2010-10-121-1/+4
| | | | | | | | plain JS objects. Thanks to jitter for catching it.
* | Fix some gaps in the handling of event data properties. Thanks to @jitter in ↵John Resig2010-10-121-1/+1
|/ | | | ff6ceadbfd470463e63708413eb5a55bd7e90c69 for the catches.
* Use a key name less likely to result in collisions for events on plain JS ↵Colin Snover2010-10-111-1/+1
| | | | objects. Fixes bug #7150.
* Handle some edge cases with binding events to the window object (which is ↵John Resig2010-10-111-1/+5
| | | | also a plain object - causing some confusion). Fixes #7143.
* Add some resize event tests.John Resig2010-10-111-0/+8
|
* Using data() on JavaScript objects sets fields directly on the object. Note ↵Dave Reed2010-09-291-2/+6
| | | | 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 number of expected select tests from commit ↵John Resig2010-09-291-1/+1
| | | | 879799fe955f01b85b59fd8a0096d415fc48df03. Thanks to @jitter for the catch.
* Don't have .val() return selected-but-disabled options, or selected options ↵Dave Methvin2010-09-241-1/+1
| | | | inside a disabled optgroup. Doesn't change the .val() returned for a disabled select. Fixes #3240, adapted from Nathan Hammond's patch there.
* Ensure that selector is not broken.Robert Katic2010-09-231-1/+1
|
* Correcting some imperfections in test added in previous commit.Robert Katic2010-09-231-7/+7
|
* Added support for map of events in live, die, delegate and undelegate. Fixes ↵Robert Katic2010-09-231-0/+39
| | | | #6282.
* Use custom events for testing unbind instead of the, potentially ↵jeresig2010-03-241-11/+11
| | | | conflicting, error event.
* Rewrote the live/delegate submit tests to be more generic.jeresig2010-03-091-20/+6
|
* Make sure that special remove and teardown events get called when .die() is ↵jeresig2010-03-091-10/+70
| | | | 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-11/+25
| | | | the namespaces specified in a call to trigger). Additionally fixes namespaces with .live(). Fixes #6208 and #6209.
* We no longer support globally-triggered events on plain objects. This is a ↵jeresig2010-03-021-13/+4
| | | | trade-off to having good garbage collection on the objects.
* Adding in .bind(name, false), .unbind(name, false) support - an easy way to ↵jeresig2010-02-271-0/+19
| | | | 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-0/+11
|
* Make sure that unbinding on a plain javascript object works correctly. Fixes ↵jeresig2010-02-261-0/+29
| | | | #6184.
* Make sure that live events bubble unless explicitly told not to, like a ↵jeresig2010-02-261-25/+33
| | | | normal event. Fixes #6182.
* Make sure that elements that have been removed also have their special ↵jeresig2010-02-131-2/+14
| | | | events cleaned up. Fixes #6084.
* Make sure that live focus and blur events also bind to the regular events, ↵jeresig2010-02-131-1/+9
| | | | to handle triggered events. Fixes #6055.
* Make sure that the teardown is called after all the handlers of a type are ↵John Resig2010-02-111-2/+6
| | | | removed. Fixes #6065.
* Rewrote the live event handling to use the new event logic. Also added in ↵jeresig2010-02-041-22/+68
| | | | support for live namespaced events. Fixes #5945.
* Added some more tests for checking the execution order of events (from last ↵jeresig2010-02-041-0/+20
| | | | night's changes - routes around Chrome's busted object looping abilities).
* Forgot to land Justin's tests for the event fixes.Justin Meyer2010-02-041-0/+18
|
* A large refactor of the event handling logic. Data and namespace information ↵jeresig2010-02-041-2/+3
| | | | 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.