Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Follow the style guide, lose 72 bytes! Closes gh-840. | Mike Sherov | 2012-07-09 | 1 | -14/+15 |
| | |||||
* | Remove more attrFn vestiges from events. | Dave Methvin | 2012-07-05 | 1 | -4/+0 |
| | |||||
* | Fix #11382. #11764. Only prevent click events on disabled elements. | Dave Methvin | 2012-06-27 | 1 | -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 Methvin | 2012-06-27 | 1 | -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 Tijhof | 2012-06-22 | 1 | -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 ↵ | timmywil | 2012-06-18 | 1 | -24/+2 |
| | | | | caching to Sizzle. Fixes #11826. | ||||
* | Fix #11328. I've never metaKey I liked on IE 6/7/8. | Dave Methvin | 2012-06-11 | 1 | -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 Waldron | 2012-06-04 | 1 | -4/+0 |
| | |||||
* | Fix #11796. Preserve oldIE change delegation on clone. Closes gh-789. | Jason Moon | 2012-05-22 | 1 | -2/+2 |
| | |||||
* | Fix #11649. Preserve oldIE submit flag when cloning, closes gh-772. | Jason Moon | 2012-05-18 | 1 | -2/+2 |
| | |||||
* | Fix #11621, $(document).trigger() must bubble to window. | Dave Methvin | 2012-05-12 | 1 | -4/+3 |
| | |||||
* | Fix #11500. Allow triggered, simulated change events. | Rick Waldron | 2012-04-10 | 1 | -2/+2 |
| | |||||
* | Remove moot second argument from `slice.call()` | Sindre Sorhus | 2012-04-04 | 1 | -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. | Oleg | 2012-04-04 | 1 | -7/+13 |
| | |||||
* | Fix #11049. Let bubbling submit be cancellable in oldIE. | Dave Methvin | 2012-03-06 | 1 | -5/+23 |
| | |||||
* | Fix #11076. If .clone() won't delegate, we must remediate. | Dave Methvin | 2012-01-28 | 1 | -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 hoisting | Mike Sherov | 2012-01-19 | 1 | -3/+3 |
| | | | | also add smarttabs:true and fix some smarttabs spacing issues | ||||
* | Fix #8165: Ignore events bubbling through disabled elements. | Dave Methvin | 2012-01-19 | 1 | -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 Waldron | 2012-01-12 | 1 | -2/+2 |
| | |||||
* | Fix #11145: Harden dispatch against a form-aliased "disabled" property | Richard Gibson | 2012-01-11 | 1 | -1/+1 |
| | |||||
* | Fix #11021. There should be no mangling of the "hover" namespace. | Dave Methvin | 2011-12-13 | 1 | -1/+1 |
| | |||||
* | Fix #10961. XRegExp's shimmed .exec() can't handle undefined. | Dave Methvin | 2011-12-13 | 1 | -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 Methvin | 2011-12-13 | 1 | -1/+1 |
| | |||||
* | Fix #10692. JSLint is dead! Long live JSHint! | Mike Sherov | 2011-12-08 | 1 | -3/+3 |
| | | | | Still needs this sizzle PR: https://github.com/jquery/sizzle/pull/82 | ||||
* | Remove unnec .call( this... from one: function() {}. Fixes #10819 | Rick Waldron | 2011-12-06 | 1 | -1/+1 |
| | |||||
* | Fix #10844. Harden quickIs() against form-aliasing of the id property. | Dave Methvin | 2011-11-21 | 1 | -2/+3 |
| | |||||
* | Fix #10791. SVG clamors for special treatment of its class names. | Dave Methvin | 2011-11-16 | 1 | -1/+1 |
| | |||||
* | Fix #10798. Don't re-bubble trigger()ed events in IE. | Dave Methvin | 2011-11-15 | 1 | -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 Methvin | 2011-11-15 | 1 | -5/+4 |
| | |||||
* | Fix #10794. .triggerHandler() should not .preventDefault(). | Dave Methvin | 2011-11-15 | 1 | -11/+2 |
| | | | | This also provides a resolution for #10699. | ||||
* | Catch more cases where special events were incorrectly removed. | Dave Methvin | 2011-11-13 | 1 | -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 Methvin | 2011-11-10 | 1 | -15/+14 |
| | |||||
* | Ensure the hover event doesn't match hovercraft. Witchcraft, maybe. | Dave Methvin | 2011-11-10 | 1 | -1/+1 |
| | |||||
* | The special.handle hook is for origType, not the mapped type. | Dave Methvin | 2011-11-09 | 1 | -9/+7 |
| | |||||
* | Fix #10705. Don't bail too soon in `.off()` event string processing. | Dave Methvin | 2011-11-09 | 1 | -3/+3 |
| | |||||
* | Fix #10712. Deal with focus/blur morphing to focusin/focusout. | Dave Methvin | 2011-11-08 | 1 | -5/+10 |
| | |||||
* | Fix #10717, .trigger("load") on images can't bubble to window. | Dave Methvin | 2011-11-08 | 1 | -0/+5 |
| | | | | This means no manually triggered event named "load" can bubble, so avoid that name for delegated custom events. | ||||
* | Replace .bind with .on when building event aliases | Daniel Herman | 2011-11-07 | 1 | -1/+1 |
| | |||||
* | Fix #10676. Remove `wheelDelta` from the event props list. | Dave Methvin | 2011-11-07 | 1 | -1/+1 |
| | | | | A cross-browser solution is best handled in a plugin such as jquery-mousewheel.js . | ||||
* | Fix #10701, .preventDefault if an inline handler returns false. | Dave Methvin | 2011-11-07 | 1 | -2/+3 |
| | | | | Baby unicorns are slapped each time you use inline handlers, so do it sparingly. | ||||
* | Since we fixed .is(POS) let's use it and save bytes. | Dave Methvin | 2011-11-06 | 1 | -16/+12 |
| | | | | Also, creates a single jQuery object and reuses it in the delegation-test loop to make it more performancy. | ||||
* | Remove forever-alone regexps in event.js | Dave Methvin | 2011-11-06 | 1 | -5/+1 |
| | | | | These should have been removed during the event refactor. | ||||
* | DRY the hover pseudo-event, get the type right, allow override. | Dave Methvin | 2011-10-27 | 1 | -2/+5 |
| | | | | Now with working unit test for extra correctness! If external code defines a special.hover event, we won't string-hack "hover" into "mouseenter mouseleave". | ||||
* | Pass correct arg list to special._default. Thanks @mikaelkaron! | Dave Methvin | 2011-10-27 | 1 | -1/+1 |
| | |||||
* | Cleanup spacing in events.js. Fixes #10601 | Rick Waldron | 2011-10-27 | 1 | -9/+9 |
| | |||||
* | Fix #10576. Add alias for jQuery.event.handle so voyeur code still works. | Dave Methvin | 2011-10-26 | 1 | -0/+4 |
| | | | | Between new 1.7 special event hooks and jQuery.event.simulate() we have a much cleaner solution than the people calling jQuery.event.handle are doing, but we shouldn't break their use of this undocumented internal interface for now. | ||||
* | Fix #10575. Undeclared `matched` var hosed recursive delegate calls. | Dave Methvin | 2011-10-25 | 1 | -1/+1 |
| | | | | Thanks davidmurdoch for staying with this bug! | ||||
* | Remove attribute match from quickIs | Dave Methvin | 2011-10-24 | 1 | -6/+5 |
| | | | | As @timmywil points out, attributes and properties are confused by IE6/7. This commit also reworks the unit test case to do a better job of checking className matches. | ||||
* | Fix #10567. Make sure quickIs matches correct class name. | Dave Methvin | 2011-10-24 | 1 | -1/+1 |
| | |||||
* | Fix #10563. Ensure event.currentTarget==this if delegated. | Dave Methvin | 2011-10-24 | 1 | -5/+5 |
| | | | | Now, event.delegateTarget is always the element where the event was handled, regardless of whether delegated handlers are attached. |