Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Make unit tests friendly to Closure Compiler. Closes gh-845. | Chad Killingsworth | 2012-07-05 | 1 | -46/+46 | |
| | | | | | | Conflicts: test/unit/effects.js test/unit/offset.js | |||||
* | UPDATE SIZZLE: completed rewrite for better things! | timmywil | 2012-07-02 | 1 | -7/+7 | |
| | | | | Remove reverse in traversing for comma selectors. Sizzle's handling of commas is now more consistent. | |||||
* | Fix #11382. #11764. Only prevent click events on disabled elements. | Dave Methvin | 2012-06-27 | 1 | -5/+14 | |
| | | | | | | 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 | -0/+14 | |
| | | | | 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. | |||||
* | Add a semicolon in unit test; this pull predated lint mandate. | Dave Methvin | 2012-06-22 | 1 | -1/+1 | |
| | ||||||
* | Fix #11925, Pass eventHandle to special.teardown. Closes gh-831. | Timo Tijhof | 2012-06-22 | 1 | -0/+15 | |
| | | | | | * Added unit test to confirm. The third assertion fails without the fix in ./src/event.js | |||||
* | Unit tests are linted and passing. | Rick Waldron | 2012-06-21 | 1 | -63/+73 | |
| | ||||||
* | Move quickIs to Sizzle; Remove duplicate id matching in init; Added selector ↵ | timmywil | 2012-06-18 | 1 | -44/+0 | |
| | | | | caching to Sizzle. Fixes #11826. | |||||
* | Fix #11857. Modularize css.js, add dependency management. Closes gh-816. | Mike Sherov | 2012-06-10 | 1 | -3/+7 | |
| | | | | See the pull request for more info on the dependency management details. | |||||
* | Fix #11796. Preserve oldIE change delegation on clone. Closes gh-789. | Jason Moon | 2012-05-22 | 1 | -0/+32 | |
| | ||||||
* | Followup #11649, clean up events in unit test. | Dave Methvin | 2012-05-18 | 1 | -0/+1 | |
| | ||||||
* | Fix #11649. Preserve oldIE submit flag when cloning, closes gh-772. | Jason Moon | 2012-05-18 | 1 | -0/+35 | |
| | ||||||
* | Fix #11621, $(document).trigger() must bubble to window. | Dave Methvin | 2012-05-12 | 1 | -1/+4 | |
| | ||||||
* | Transform $.bindReady into $.ready.promise. It is now possible to use ↵ | jaubourg | 2012-05-06 | 1 | -0/+5 | |
| | | | | $.ready.promise or $.when( $.ready ) to get the ready promise. Costs *1* byte min/gzipped. Unit test added. | |||||
* | remove jQuery.quickReady, save bytes, style nits in tests | Mike Sherov | 2012-05-04 | 1 | -8/+5 | |
| | ||||||
* | Fix #10067. Create jQuery.quickReady; closes gh-736. | Mike Sherov | 2012-04-23 | 1 | -0/+20 | |
| | | | | Allows us to get to the ready state sooner by not waiting for iframes to load. If that causes backcompat pain, use `jQuery.quickReady = false` as prescribed by your developer. | |||||
* | Make test async to please Opera 11.1; supplements #11500 | Rick Waldron | 2012-04-16 | 1 | -1/+2 | |
| | ||||||
* | Fix #11500. Allow triggered, simulated change events. | Rick Waldron | 2012-04-10 | 1 | -0/+10 | |
| | ||||||
* | Fix #11049. Let bubbling submit be cancellable in oldIE. | Dave Methvin | 2012-03-06 | 1 | -3/+41 | |
| | ||||||
* | Fix #11076. If .clone() won't delegate, we must remediate. | Dave Methvin | 2012-01-28 | 1 | -0/+23 | |
| | | | | 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. | |||||
* | Fix #8165: Ignore events bubbling through disabled elements. | Dave Methvin | 2012-01-19 | 1 | -2/+12 | |
| | | | | 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 | -3/+19 | |
| | ||||||
* | Fix #11145: Harden dispatch against a form-aliased "disabled" property | Richard Gibson | 2012-01-11 | 1 | -10/+23 | |
| | ||||||
* | Fix #11021. There should be no mangling of the "hover" namespace. | Dave Methvin | 2011-12-13 | 1 | -1/+5 | |
| | ||||||
* | Fix #10984. Use origType when unbinding via the event object. | Dave Methvin | 2011-12-13 | 1 | -1/+10 | |
| | ||||||
* | Fix #10844. Harden quickIs() against form-aliasing of the id property. | Dave Methvin | 2011-11-21 | 1 | -0/+23 | |
| | ||||||
* | Fix #10791. SVG clamors for special treatment of its class names. | Dave Methvin | 2011-11-16 | 1 | -0/+25 | |
| | ||||||
* | Allow mapped types to be removed by a namespace-only type name. | Dave Methvin | 2011-11-15 | 1 | -2/+11 | |
| | ||||||
* | Fix #10794. .triggerHandler() should not .preventDefault(). | Dave Methvin | 2011-11-15 | 1 | -1/+8 | |
| | | | | This also provides a resolution for #10699. | |||||
* | Pre-focus the element so the browser won't fire focus while we're faking it. | Dave Methvin | 2011-11-13 | 1 | -0/+3 | |
| | | | | At this point the unit test is only testing our ability to fake-fire focusin the right way. These machinations are related to the problem in #6705. | |||||
* | Disable DOM focusin test since it can't really work in the swarm. | Dave Methvin | 2011-11-13 | 1 | -4/+5 | |
| | ||||||
* | Catch more cases where special events were incorrectly removed. | Dave Methvin | 2011-11-13 | 1 | -7/+24 | |
| | | | | 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 | -7/+42 | |
| | ||||||
* | Ensure the hover event doesn't match hovercraft. Witchcraft, maybe. | Dave Methvin | 2011-11-10 | 1 | -0/+3 | |
| | ||||||
* | Fix #10705. Don't bail too soon in `.off()` event string processing. | Dave Methvin | 2011-11-09 | 1 | -0/+24 | |
| | ||||||
* | Fix #10712. Deal with focus/blur morphing to focusin/focusout. | Dave Methvin | 2011-11-08 | 1 | -3/+2 | |
| | ||||||
* | Fix #10717, .trigger("load") on images can't bubble to window. | Dave Methvin | 2011-11-08 | 1 | -0/+19 | |
| | | | | This means no manually triggered event named "load" can bubble, so avoid that name for delegated custom events. | |||||
* | Fix #10701, .preventDefault if an inline handler returns false. | Dave Methvin | 2011-11-07 | 1 | -0/+12 | |
| | | | | Baby unicorns are slapped each time you use inline handlers, so do it sparingly. | |||||
* | Fix #10691. Remove all instances of equals() and same(), as these are ↵ | Mike Sherov | 2011-11-06 | 1 | -320/+320 | |
| | | | | deprecated in QUnit. | |||||
* | 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 | |
| |