aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix #12061. Avoid window.onbeforeunload to permit multiple handlers. Close ↵Oleg2012-10-201-9/+4
| | | | gh-894.
* Fixes #12518, removes an offsetWidth on focus/blur events for an <IE9 bug ↵Merrifield, Jay2012-10-201-3/+7
| | | | that caused a performance hit. Closes gh-958
* Fix #12610, remove unneeded window.event. Close gh-968.Sai Wong2012-10-201-1/+1
|
* Fix #12739. Keep namespace when triggering with an Event. Close gh-972.Allen J Schmidt Jr2012-10-191-1/+1
|
* no ticket: remove and enforce unused vars in jshintMike Sherov2012-10-171-3/+2
|
* Fixes #12736. Move hover event hack to deprecated.js for removal in 1.9. ↵Greg Lavallee2012-10-161-7/+3
| | | | | | Closes gh-982. Signed-off-by: Timmy Willison <timmywillisn@gmail.com>
* Create private methods for processing data/removeData requests. Fixes ↵carldanley2012-10-161-2/+1
| | | | #12519, Closes gh-976
* Deprecate fn toggle Closes gh-970 ↵David Bonner2012-10-151-26/+0
| | | | https://github.com/jquery/2012-dev-summit/issues/24
* Fix #12690. Avoid use of UTF-8 chars in final files.Dave Methvin2012-10-101-1/+1
|
* Fix #12229, size/consistency improvements. Close gh-887.Richard Gibson2012-09-181-2/+2
|
* Fix #12423. Ensure we can .apply() before we try.Dave Methvin2012-09-181-1/+1
| | | | I can't think of an uncontrived way to unit test this, it only occurs in IE when a BHO monkeys with the links.
* Fix #12436, make delegated events fast again. Close gh-923.Dave Methvin2012-09-091-1/+4
| | | | Retains the rooted-at-delegateTarget behavior fixed in #12383 by afd717df9e.
* Update placeholder references to tickets.Dave Methvin2012-08-281-1/+1
|
* Fix #12383. All selectors should be delegateTarget-relativeDave Methvin2012-08-281-7/+2
|
* Fix #12329. Remove leftover jQuery.bindReady reference.Dave Methvin2012-08-201-5/+0
| | | | jQuery.ready already fires "ready" event properly, the undefined reference had no effect.
* Fix #12149. Avoid memory leak on oldIE change events. Close gh-878.Nikita Govorov2012-08-191-1/+1
|
* Fix #12203. .undelegate() should not remove direcly bound events.Dave Methvin2012-08-071-1/+1
|
* Clean up regexen; use common regex for numbers. Close gh-862.Richard Gibson2012-07-221-4/+4
|
* Follow the style guide, lose 72 bytes! Closes gh-840.Mike Sherov2012-07-091-14/+15
|
* Remove more attrFn vestiges from events.Dave Methvin2012-07-051-4/+0
|
* Fix #11382. #11764. Only prevent click events on disabled elements.Dave Methvin2012-06-271-2/+2
| | | | | | We don't want a disabled link/button to register delegated clicks, but we do want events like mouseover or custom events. This is a compromise, there is no perfect solution. Well, the browsers could be consistent about direct vs. delegated events but *that's* not gonna happen.
* Fix #11315. Selector for .on() is relative to delegateTarget.Dave Methvin2012-06-271-1/+1
| | | | This fixes a regresssion from 1.6.4. Be aware that nearly every place that this bug comes into play, the selector in use is incredibly inefficient.
* Fix #11925, Pass eventHandle to special.teardown. Closes gh-831.Timo Tijhof2012-06-221-1/+1
| | | | | * Added unit test to confirm. The third assertion fails without the fix in ./src/event.js
* Move quickIs to Sizzle; Remove duplicate id matching in init; Added selector ↵timmywil2012-06-181-24/+2
| | | | caching to Sizzle. Fixes #11826.
* Fix #11328. I've never metaKey I liked on IE 6/7/8.Dave Methvin2012-06-111-4/+2
| | | | | | The `event.metaKey` property is undefined there so we ensure it's set to `false` for lack of a better default. The `originalEvent.metaKey` property is untouched if you prefer to make other guesses about the platform or key state. This is pretty much impossible to unit test since it is not only platform dependendent but also only executed for native browser events.
* Strips IIFEs from modules; Always require built jQuery for tests.Rick Waldron2012-06-041-4/+0
|
* Fix #11796. Preserve oldIE change delegation on clone. Closes gh-789.Jason Moon2012-05-221-2/+2
|
* Fix #11649. Preserve oldIE submit flag when cloning, closes gh-772.Jason Moon2012-05-181-2/+2
|
* Fix #11621, $(document).trigger() must bubble to window.Dave Methvin2012-05-121-4/+3
|
* Fix #11500. Allow triggered, simulated change events.Rick Waldron2012-04-101-2/+2
|
* Remove moot second argument from `slice.call()`Sindre Sorhus2012-04-041-1/+1
| | | | The zeroes were added to fix http://bugs.jquery.com/ticket/4942 but those browsers are no longer supported.
* Fix #8545. Plug event handling memory leak in oldIE.Oleg2012-04-041-7/+13
|
* Fix #11049. Let bubbling submit be cancellable in oldIE.Dave Methvin2012-03-061-5/+23
|
* Fix #11076. If .clone() won't delegate, we must remediate.Dave Methvin2012-01-281-0/+1
| | | | Since `jQuery.event.add` can accept a handleObj there's no need to reiterate them as args, but we *do* need to set the `selector` variable correctly.
* Add undef:true to JSHint now that it understands hoistingMike Sherov2012-01-191-3/+3
| | | | also add smarttabs:true and fix some smarttabs spacing issues
* Fix #8165: Ignore events bubbling through disabled elements.Dave Methvin2012-01-191-18/+22
| | | | Although #6911 fixed the case where event.target was disabled, it missed the case where the target was a sub-element.
* Fix #11130: Don't neglect the data arg when event-map is passed.Rick Waldron2012-01-121-2/+2
|
* Fix #11145: Harden dispatch against a form-aliased "disabled" propertyRichard Gibson2012-01-111-1/+1
|
* Fix #11021. There should be no mangling of the "hover" namespace.Dave Methvin2011-12-131-1/+1
|
* Fix #10961. XRegExp's shimmed .exec() can't handle undefined.Dave Methvin2011-12-131-1/+1
| | | | There's no reason to call quickParse if selector is falsy, so it's a minor performance optimization anyway. No change in behavior at all on our side, so no test case needed.
* Fix #10984. Use origType when unbinding via the event object.Dave Methvin2011-12-131-1/+1
|
* Fix #10692. JSLint is dead! Long live JSHint!Mike Sherov2011-12-081-3/+3
| | | | Still needs this sizzle PR: https://github.com/jquery/sizzle/pull/82
* Remove unnec .call( this... from one: function() {}. Fixes #10819Rick Waldron2011-12-061-1/+1
|
* Fix #10844. Harden quickIs() against form-aliasing of the id property.Dave Methvin2011-11-211-2/+3
|
* Fix #10791. SVG clamors for special treatment of its class names.Dave Methvin2011-11-161-1/+1
|
* Fix #10798. Don't re-bubble trigger()ed events in IE.Dave Methvin2011-11-151-4/+4
| | | | Since .trigger() already bubbles the event, we don't have to work around the non-bubbling IE events for that case.
* Allow mapped types to be removed by a namespace-only type name.Dave Methvin2011-11-151-5/+4
|
* Fix #10794. .triggerHandler() should not .preventDefault().Dave Methvin2011-11-151-11/+2
| | | | This also provides a resolution for #10699.
* Catch more cases where special events were incorrectly removed.Dave Methvin2011-11-131-20/+15
| | | | We can't take the blow-it-all-away shortcut because something in the middle of the list may be a mapped special event. On the bright side, -22!
* Avoid collateral damage when removing bindType/delegateType special events.Dave Methvin2011-11-101-15/+14
|