Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | |||||
* | Stop global event bubbling using onlyHandlers flag. | Dave Methvin | 2011-10-24 | 1 | -2/+1 | |
| | ||||||
* | Make jQuery().off(event) work for delegated events. | Dave Methvin | 2011-10-24 | 1 | -11/+11 | |
| | | | | Logic to handle detaching by event was in both .off() and jQuery.event.remove; now it's only in .off(). It's a bit of a strange case since the event object (not the jQuery set) specifies the element. | |||||
* | Fold dispatch function into main event dispatch. | Dave Methvin | 2011-10-24 | 1 | -37/+30 | |
| | ||||||
* | Don't add an empty list of handlers. | Dave Methvin | 2011-10-24 | 1 | -2/+2 | |
| | ||||||
* | Make event.currentTarget the delegate node, always. | Dave Methvin | 2011-10-24 | 1 | -12/+6 | |
| | | | | This lets us use currentTarget for its intended use and avoids creating a non-standard delegateTarget property. | |||||
* | Don't run direct handlers if delegate did .stopPropagation(). | Dave Methvin | 2011-10-24 | 1 | -1/+1 | |
| | ||||||
* | Landing pull request 554. #10531: Remove `layerX` and `layerY` Fixes #10531. | Mathias Bynens | 2011-10-22 | 1 | -1/+1 | |
| | | | | | | More Details: - https://github.com/jquery/jquery/pull/554 - http://bugs.jquery.com/ticket/10531 | |||||
* | Fix #10489. Disconnected elements don't bubble to document. | Dave Methvin | 2011-10-13 | 1 | -23/+27 | |
| | ||||||
* | Fixes #10477. Get `.off(type, null, fn)` right. | Dave Methvin | 2011-10-11 | 1 | -1/+1 | |
| | ||||||
* | Fix focus/blur unit test issues. Reopens #6705. | Dave Methvin | 2011-10-10 | 1 | -13/+4 | |
| | | | | | | | In the event refactor, I tried to have the focus/blur events trigger the focus/blur plus focusin/focusout events but this doesn't handle various real-world cases that expect a trigger()ed jQuery handler to run and be able to pass data even if the native event shouldn't fire. This reopens a bug that causes a double-fire of inline event handlers. | |||||
* | Fix #10468. Remove jQuery.event.proxy and jQuery.event.guid. | Dave Methvin | 2011-10-10 | 1 | -6/+0 | |
| | | | | These were deprecated several versions ago and have always been undocumented. Use jQuery.proxy() and jQuery.guid instead. | |||||
* | Minor fix in events; undeclared var from last commit | timmywil | 2011-10-07 | 1 | -4/+4 | |
| | ||||||
* | Additional nits | Rick Waldron | 2011-10-06 | 1 | -1/+1 | |
| | ||||||
* | Style sweep | Rick Waldron | 2011-10-06 | 1 | -26/+36 | |
| | ||||||
* | Rename jQuery.event.propHooks to .fixHooks. | Dave Methvin | 2011-10-05 | 1 | -6/+6 | |
| | | | | We already have jQuery.propHooks for the .prop() method, so using the same name for unrelated functionality on a sub-namespace is crazy talk. Since the method involved is jQuery.event.fix(), this will hopefully tie them together. Oh, and it's shorter. | |||||
* | Fix #10375. Don't put `type` in jQuery.event.props | Dave Methvin | 2011-09-29 | 1 | -1/+1 | |
| | | | | It's already set in jQuery.Event, and copying it can clobber values set by the caller, e.g., the UI widget factory. | |||||
* | Expose jQuery.event.simulate for use by special event handlers. | Dave Methvin | 2011-09-28 | 1 | -23/+23 | |
| | ||||||
* | Minor cleanups to code. Futile effort to get IE to pass the unit test. | Dave Methvin | 2011-09-25 | 1 | -4/+5 | |
| | ||||||
* | propHooks now an object with `props` array and `filter` function. | Dave Methvin | 2011-09-25 | 1 | -77/+63 | |
| | | | | Use the originalEvent to grab properties in filter functions since they often won't have been copied to event. Mark a few current props in the main jQuery.event.props list as deprecated, they aren't supported across all browsers. | |||||
* | Merge branch '8789-fun-with-fix' of https://github.com/rwldrn/jquery into ↵ | Dave Methvin | 2011-09-24 | 1 | -44/+91 | |
|\ | | | | | | | | | | | | | | | fix-8789-rwldrn-fix Conflicts: src/event.js test/unit/event.js | |||||
| * | Moves mouse properties to mouseProps | Rick Waldron | 2011-09-23 | 1 | -1/+2 | |
| | | ||||||
| * | current state | Rick Waldron | 2011-09-22 | 1 | -5/+14 | |
| | | ||||||
| * | Removes early return loop, must copy properties | Rick Waldron | 2011-09-22 | 1 | -5/+0 | |
| | | ||||||
| * | Shortcircuit fix if possible | Rick Waldron | 2011-09-22 | 1 | -0/+5 | |
| | | ||||||
| * | More ref localization | Rick Waldron | 2011-09-22 | 1 | -10/+15 | |
| | | ||||||
| * | Remove unnec. empty line | Rick Waldron | 2011-09-22 | 1 | -1/+0 | |
| | | ||||||
| * | More reference caching | Rick Waldron | 2011-09-22 | 1 | -2/+4 | |
| | | ||||||
| * | Cache reference to propHook lookup and result | Rick Waldron | 2011-09-22 | 1 | -3/+6 | |
| | | ||||||
| * | Restore this.propHooks => jQuery.event.propHooks for better gzip ↵ | Rick Waldron | 2011-09-22 | 1 | -2/+2 | |
| | | | | | | | | compression. Thanks gnarf | |||||
| * | Adds notes re: crash status of fix conditions | Rick Waldron | 2011-09-22 | 1 | -1/+2 | |
| | | ||||||
| * | Moves key event fixes to own even prop hook defs | Rick Waldron | 2011-09-22 | 1 | -14/+23 | |
| | | ||||||
| * | jQuery.event.propHooks => this.propHooks where possible | Rick Waldron | 2011-09-22 | 1 | -2/+2 | |
| | |