aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix #6593. Don't trigger `change` event twice when simulating it on IE.Dave Methvin2011-09-191-2/+2
|
* Fix #6170. Don't try to run DOM methods on `window`.Dave Methvin2011-09-191-3/+4
|
* Remove the relatedTarget adjustment for mouseenter/leave events, it's an ↵Dave Methvin2011-09-191-7/+3
| | | | ambiguous case anyway and it is expensive to do.
* Cosmetic and style cleanups.Dave Methvin2011-09-191-33/+32
|
* Fix the special event handler for mouseover/out events.Dave Methvin2011-09-191-1/+3
| | | | And use the /dist version of jquery.js, willya?
* Rework #1486 patch to avoid `try/catch` and look for hidden elements by ↵Dave Methvin2011-09-191-14/+12
| | | | `.offsetWidth`. Unit test currently disabled due to Chrome bug.
* Fix #9951. Precompute path for `.trigger()` to match up with W3C spec.Dave Methvin2011-09-191-33/+36
|
* Fix some messy rebasing issues.Dave Methvin2011-09-191-28/+24
|
* Fixes for IE8. Avoid killer recursion in special events during removal. Use ↵Dave Methvin2011-09-191-11/+13
| | | | q instead of quote in unit tests.
* The unload event no longer needs the IE6SP2 fix, see ↵Dave Methvin2011-09-191-1/+1
| | | | http://bugs.jquery.com/ticket/8982
* Clean up the delegate matching logic.Dave Methvin2011-09-191-2/+2
|
* Make a `blur` event bubble properly when mutated into a `focusout` event.Dave Methvin2011-09-191-7/+10
|
* Remove redundancy in the IE special submit handler.Dave Methvin2011-09-191-13/+6
|
* Fix simulate() arg order.Dave Methvin2011-09-191-1/+1
|
* Clean up the quick selector expression parsing code.Dave Methvin2011-09-191-24/+27
|
* special.handle now must call the handleObj.handler if it wants that to ↵Dave Methvin2011-09-191-29/+23
| | | | happen. Also re-use the simulate() function for bubbling focusin.
* Rework the special events interface to add handle and trigger hooks. Modify ↵Dave Methvin2011-09-191-125/+136
| | | | IE change/submit special events to take advantage of them. Rewrite mouseover/enter code as special events rather than inline code. In the event unit test, set a tabindex on the div element and focus it first to justify a legitimate blur event.
* Rewrite IE special change/submit to make it faster/shorter. Fixes #6319.Dave Methvin2011-09-191-52/+49
|
* Fixes #8858. Pass the .trigger(..., data) to the event.special._default method.Dave Methvin2011-09-191-1/+1
|
* Add unit tests for quickIs cases and fix the regexp as a result.Dave Methvin2011-09-191-4/+4
|
* Pre-compute delegated event path and handlers to comply with ↵Dave Methvin2011-09-191-17/+21
| | | | http://www.w3.org/TR/DOM-Level-3-Events/#event-flow
* jQuery 1.7 event work:Dave Methvin2011-09-191-443/+325
| | | | | | | | Add .on() and .off() methods. Write existing methods in terms of on/off. Rewrite delegated handling to remove "live" event. Fix existing code for jQuery style guide. Fix existing bug in unit tests calling .undelegate()
* Fix #10208. Check for `button` as well as `input` when performing the #7071 ↵Dave Methvin2011-09-071-2/+3
| | | | VML crash workaround for IE special-events submit code.
* Make sure that Internet Explorer 6-8 won't give a "failed" error, when a ↵Steen Nielsen2011-07-151-3/+4
| | | | request for type is made on vml objects
* Landing pull request 397. withinElement rewrite in event. Fixes #6234, ↵rwldrn2011-06-141-18/+11
| | | | | | | | | | #9357, #9447. More Details: - https://github.com/jquery/jquery/pull/397 - http://bugs.jquery.com/ticket/6234 - http://bugs.jquery.com/ticket/9357 - http://bugs.jquery.com/ticket/9447
* Landing pull request 404. Removes unused hasOwn var declaration. Fixes #9510.rwldrn2011-06-061-2/+1
| | | | | | More Details: - https://github.com/jquery/jquery/pull/404 - http://bugs.jquery.com/ticket/9510
* Landing pull request 377. Check custom data != null(undefined), allows zero; ↵Rick Waldron2011-05-161-1/+1
| | | | | | | | Fixes #9285. More Details: - https://github.com/jquery/jquery/pull/377 - http://bugs.jquery.com/ticket/9285
* Make sure that mouseenter/mouseleave fire on the correct element when doing ↵John Resig2011-05-101-3/+4
| | | | delegation. Fixes #9069.
* Restores var names to satisfy the crock-machine. Supplements #9008Rick Waldron2011-04-281-1/+1
|
* Restored /g flag to rspaces; Adds unit tests; Supplements #9008Rick Waldron2011-04-281-1/+1
|
* Make cached rspaces regex definitions consistent. Fixes #9008rwldrn2011-04-281-2/+2
|
* Landing pull request 344. using jQuery.nodeName where applicable.Jordan Boesch2011-04-231-4/+4
| | | | | More Details: - https://github.com/jquery/jquery/pull/344
* Merge branch 'master' of github.com:jquery/jquery into fix-8790a-quicker-triggerDave Methvin2011-04-211-3/+8
|\
| * DRY out #6514Rick Waldron2011-04-171-1/+1
| |
| * Fix live mouseenter and mouseleave binding so they can be activated by ↵Brian Brennan2011-04-171-1/+1
| | | | | | | | triggers. Fixes #6514.
| * Added check for live mouseenter/mouseleave events if bound to nested ↵Gilmore Davidson2011-04-171-0/+5
| | | | | | | | elements with the same selector. Fixes #5884.
| * Make sure that there isn't an error if no event object exists. Fixes #8755.John Resig2011-04-171-1/+1
| |
| * Allow function to be passed in as a data object to bind and one. Fixes #6993.John Resig2011-04-161-1/+1
| |
* | Follow-up to #8790. Delay the creation of a jQuery.Event until we know it ↵Dave Methvin2011-04-161-26/+23
|/ | | | will need to be triggered.
* Fix test suite fail in IE6/7 on event:undelegate - was failing an if where ↵timmywil2011-04-131-2/+2
| | | | it shouldn't
* Followup to #8753. Modify new Event constructor signature to ↵Dave Methvin2011-04-121-15/+9
| | | | jQuery.event(type, props), which can be exploited by jQuery.event.trigger as well.
* Merge branch 'fix-8790-quick-trigger'Dave Methvin2011-04-121-4/+5
|\ | | | | | | | | Conflicts: src/event.js
| * Explicitly set event.type in case we chopped out a namespace or exclusive flag.Dave Methvin2011-04-121-0/+1
| |
| * Use explicit "new jQuery.Event" to avoid double-function-call overhead.Dave Methvin2011-04-121-3/+3
| |
* | Accessing the 'type' property on VML elements fails on IE. Fixes #7071.John Firebaugh2011-04-121-2/+2
| |
* | Merge branch 'Sub_Naming' of https://github.com/timmywil/jquery into ↵John Resig2011-04-121-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | timmywil-Sub_Naming Conflicts: src/core.js src/css.js src/event.js
| * | Changed $.sub internals to match sub naming, added some more spacing in some ↵Timmy Willison2011-02-061-4/+2
| | | | | | | | | | | | areas for readability
* | | More formatting tweaks.John Resig2011-04-121-2/+2
| | |
* | | Fixing some minor formatting problems.John Resig2011-04-121-1/+3
| | |
* | | Merge branch 'fix-8790-quick-trigger' of https://github.com/dmethvin/jquery ↵John Resig2011-04-121-15/+31
|\ \ \ | | |/ | |/| | | | into dmethvin-fix-8790-quick-trigger