Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add a way to fire native events using dispatchEvent/fireEvent in ↵ | timmywil | 2011-10-28 | 1 | -22/+24 | |
| | | | | testinit.js; fixes failing click test in FF3.6 | |||||
* | DRY the hover pseudo-event, get the type right, allow override. | Dave Methvin | 2011-10-27 | 1 | -1/+21 | |
| | | | | 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 | -5/+5 | |
| | ||||||
* | Remove attribute match from quickIs | Dave Methvin | 2011-10-24 | 1 | -18/+7 | |
| | | | | 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 | -0/+8 | |
| | ||||||
* | Fix #10563. Ensure event.currentTarget==this if delegated. | Dave Methvin | 2011-10-24 | 1 | -17/+21 | |
| | | | | Now, event.delegateTarget is always the element where the event was handled, regardless of whether delegated handlers are attached. | |||||
* | Make jQuery().off(event) work for delegated events. | Dave Methvin | 2011-10-24 | 1 | -0/+14 | |
| | | | | 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. | |||||
* | Make event.currentTarget the delegate node, always. | Dave Methvin | 2011-10-24 | 1 | -2/+2 | |
| | | | | 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 | -0/+16 | |
| | ||||||
* | Fix #10489. Disconnected elements don't bubble to document. | Dave Methvin | 2011-10-13 | 1 | -13/+38 | |
| | ||||||
* | Tweak live-blur() test to silence a IE8 swarm fail. | Dave Methvin | 2011-10-11 | 1 | -9/+8 | |
| | ||||||
* | Fixes #10477. Get `.off(type, null, fn)` right. | Dave Methvin | 2011-10-11 | 1 | -2/+13 | |
| | ||||||
* | Rename jQuery.event.propHooks to .fixHooks. | Dave Methvin | 2011-10-05 | 1 | -12/+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/+4 | |
| | | | | It's already set in jQuery.Event, and copying it can clobber values set by the caller, e.g., the UI widget factory. | |||||
* | Restore original click prop hook | Rick Waldron | 2011-09-26 | 1 | -0/+1 | |
| | ||||||
* | Fixed tests to run in IE9 | Rick Waldron | 2011-09-26 | 1 | -16/+19 | |
| | ||||||
* | Minor cleanups to code. Futile effort to get IE to pass the unit test. | Dave Methvin | 2011-09-25 | 1 | -3/+2 | |
| | ||||||
* | propHooks now an object with `props` array and `filter` function. | Dave Methvin | 2011-09-25 | 1 | -68/+32 | |
| | | | | 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 | -4/+63 | |
|\ | | | | | | | | | | | | | | | fix-8789-rwldrn-fix Conflicts: src/event.js test/unit/event.js | |||||
| * | Adds implementation tests for jQuery.event.propHooks #8789 | Rick Waldron | 2011-09-20 | 1 | -6/+65 | |
| | | ||||||
* | | Remove the rarely-used pseudos from quickis.html | Dave Methvin | 2011-09-21 | 1 | -10/+7 | |
|/ | | | | The cutting will continue until file size is improved. | |||||
* | Fix #9901, verified by this unit test. | Dave Methvin | 2011-09-20 | 1 | -1/+3 | |
| | ||||||
* | Rework #1486 patch to avoid `try/catch` and look for hidden elements by ↵ | Dave Methvin | 2011-09-19 | 1 | -0/+25 | |
| | | | | `.offsetWidth`. Unit test currently disabled due to Chrome bug. | |||||
* | Fixes for IE8. Avoid killer recursion in special events during removal. Use ↵ | Dave Methvin | 2011-09-19 | 1 | -3/+12 | |
| | | | | q instead of quote in unit tests. | |||||
* | Rework the special events interface to add handle and trigger hooks. Modify ↵ | Dave Methvin | 2011-09-19 | 1 | -0/+3 | |
| | | | | 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. | |||||
* | Fixes #8858. Pass the .trigger(..., data) to the event.special._default method. | Dave Methvin | 2011-09-19 | 1 | -5/+6 | |
| | ||||||
* | Add unit tests for quickIs cases and fix the regexp as a result. | Dave Methvin | 2011-09-19 | 1 | -5/+37 | |
| | ||||||
* | Cleanup for on/off unit test. | Dave Methvin | 2011-09-19 | 1 | -4/+5 | |
| | ||||||
* | jQuery 1.7 event work: | Dave Methvin | 2011-09-19 | 1 | -2/+110 | |
| | | | | | | | | 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 bad calls to .undelegate(). | Dave Methvin | 2011-09-19 | 1 | -11/+4 | |
| | | | | Remove two tests that assume "live" data structure. | |||||
* | Fix #10208. Check for `button` as well as `input` when performing the #7071 ↵ | Dave Methvin | 2011-09-07 | 1 | -1/+5 | |
| | | | | VML crash workaround for IE special-events submit code. | |||||
* | Removes empty, duplicate named test block. Fixes #9914 | Rick Waldron | 2011-07-26 | 1 | -5/+2 | |
| | ||||||
* | Landing pull request 397. withinElement rewrite in event. Fixes #6234, ↵ | rwldrn | 2011-06-14 | 1 | -0/+37 | |
| | | | | | | | | | | #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 377. Check custom data != null(undefined), allows zero; ↵ | Rick Waldron | 2011-05-16 | 1 | -0/+20 | |
| | | | | | | | | Fixes #9285. More Details: - https://github.com/jquery/jquery/pull/377 - http://bugs.jquery.com/ticket/9285 | |||||
* | Restored /g flag to rspaces; Adds unit tests; Supplements #9008 | Rick Waldron | 2011-04-28 | 1 | -0/+16 | |
| | ||||||
* | Fix live mouseenter and mouseleave binding so they can be activated by ↵ | Brian Brennan | 2011-04-17 | 1 | -2/+19 | |
| | | | | triggers. Fixes #6514. | |||||
* | Switch QUnit div from depreceted #main to #qunit-fixture | timmywil | 2011-04-17 | 1 | -19/+19 | |
| | ||||||
* | Add in unit tests for #6993. | John Resig | 2011-04-16 | 1 | -1/+7 | |
| | ||||||
* | Fix test suite fail in IE6/7 on event:undelegate - was failing an if where ↵ | timmywil | 2011-04-13 | 1 | -2/+2 | |
| | | | | it shouldn't | |||||
* | Merge branch 'fix_suite_fails' of https://github.com/timmywil/jquery into ↵ | Dave Methvin | 2011-04-12 | 1 | -0/+2 | |
|\ | | | | | | | timmywil-fix_suite_fails | |||||
| * | VML.type test was causing multiple test suite fails, fix attributes.js fail ↵ | timmywil | 2011-04-12 | 1 | -0/+2 | |
| | | | | | | | | in IE6 where the val(String/Number) tests were interfering with the val(Function) tests | |||||
* | | Followup to #8753. Modify new Event constructor signature to ↵ | Dave Methvin | 2011-04-12 | 1 | -2/+2 | |
|/ | | | | jQuery.event(type, props), which can be exploited by jQuery.event.trigger as well. | |||||
* | Accessing the 'type' property on VML elements fails on IE. Fixes #7071. | John Firebaugh | 2011-04-12 | 1 | -0/+3 | |
| | ||||||
* | revert last commit | louisremi | 2011-04-12 | 1 | -1/+1 | |
| | ||||||
* | switch double quotes with single quotes | louisremi | 2011-04-12 | 1 | -1/+1 | |
| | ||||||
* | merge with master and resolve more conflicts | louisremi | 2011-04-12 | 1 | -0/+21 | |
|\ | ||||||
| * | Merge branch '8777' of https://github.com/rwldrn/jquery into rwldrn-8777 | jeresig | 2011-04-11 | 1 | -0/+21 | |
| |\ | | | | | | | | | | | | | Conflicts: src/event.js | |||||
| | * | Ticket #8777 undelegate by namespace | rwldrn | 2011-04-05 | 1 | -6/+28 | |
| | | | ||||||
* | | | third batch | louisremi | 2011-04-12 | 1 | -90/+90 | |
|/ / | ||||||
* | | Merge branch 'eventprops.1.6final' of https://github.com/rwldrn/jquery into ↵ | jeresig | 2011-04-10 | 1 | -0/+22 | |
|\ \ | | | | | | | | | | | | | | | | | | | rwldrn-eventprops.1.6final Conflicts: test/unit/event.js |