aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Remove attribute match from quickIsDave Methvin2011-10-241-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 Methvin2011-10-241-1/+1
|
* Fix 10558. Get the right element for checkClone; thanks zhengzongyi!Dave Methvin2011-10-241-1/+1
|
* Fix #10563. Ensure event.currentTarget==this if delegated.Dave Methvin2011-10-241-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 Methvin2011-10-241-2/+1
|
* Make jQuery().off(event) work for delegated events.Dave Methvin2011-10-241-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 Methvin2011-10-241-37/+30
|
* Don't add an empty list of handlers.Dave Methvin2011-10-241-2/+2
|
* Make event.currentTarget the delegate node, always.Dave Methvin2011-10-241-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 Methvin2011-10-241-1/+1
|
* Fixes gross indents.Rick Waldron2011-10-241-6/+6
|
* Landing pull request 550. IE6,7,8 cannot use cached fragments from unknown ↵timmywil2011-10-231-13/+17
| | | | | | | | elems. Fixes #10501. More Details: - https://github.com/jquery/jquery/pull/550 - http://bugs.jquery.com/ticket/10501
* Landing pull request 554. #10531: Remove `layerX` and `layerY` Fixes #10531.Mathias Bynens2011-10-221-1/+1
| | | | | | More Details: - https://github.com/jquery/jquery/pull/554 - http://bugs.jquery.com/ticket/10531
* Landing pull request 553. Fallback to elem.style for disconnected nodes in ↵Mike Sherov2011-10-221-0/+4
| | | | | | | | | width/height retrieval. Fixes #8388. More Details: - https://github.com/jquery/jquery/pull/553 - http://bugs.jquery.com/ticket/10254 - http://bugs.jquery.com/ticket/8388
* Support setting both the enctype attribute and property (encoding in IE6/7). ↵timmywil2011-10-222-1/+10
| | | | Fixes #6743.
* Use the property name in elem.removeAttribute in IE6/7 to ensure correct ↵timmywil2011-10-171-16/+22
| | | | removals. Fixes #10514.
* Fix #10489. Disconnected elements don't bubble to document.Dave Methvin2011-10-131-23/+27
|
* Update sizzle; Add sizzle cache collision iframe test. Fixes #8539.timmywil2011-10-131-0/+0
|
* Do not call getElements on a script tag. Avoids unnecessary execution. Fixes ↵timmywil2011-10-121-4/+6
| | | | #10176.
* Leave the opacity test unanchored in case of floating point rounding browser ↵timmywil2011-10-111-1/+1
| | | | errors; small fix in queue tests. Fixes #5145.
* Squashed commit of the following:Corey Frang2011-10-111-1/+6
| | | | | | | | | | | | | | | commit af3fd32f207ed080084f10d76f89c07c414baa05 Merge: 83c08ff fdd60f8 Author: Dave Methvin <dave.methvin@gmail.com> Date: Tue Oct 11 21:17:56 2011 -0400 Merge branch 'stop' of https://github.com/gnarf37/jquery into pull-541-stop commit fdd60f8705e98430df62196f505cb929b2d7f6bc Author: Corey Frang <gnarf@gnarf.net> Date: Mon Oct 10 13:51:59 2011 -0500 .stop( [queue,] clearQueue, gotoEnd )
* Fix #10478. Replace jQuery.isNaN with jQuery.isNumeric.Dave Methvin2011-10-114-5/+5
| | | | Thanks to Christian C. Salvadó for the unit tests!
* Fixes #10477. Get `.off(type, null, fn)` right.Dave Methvin2011-10-111-1/+1
|
* Removes isPending and introduces state as a means to retrieve the ↵jaubourg2011-10-111-6/+12
| | | | Deferred/Promise state. Unit tests amended.
* Fix focus/blur unit test issues. Reopens #6705.Dave Methvin2011-10-101-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 Methvin2011-10-101-6/+0
| | | | These were deprecated several versions ago and have always been undocumented. Use jQuery.proxy() and jQuery.guid instead.
* Merge pull request #535 from gnarf37/queue-trueJulian Aubourg2011-10-071-2/+2
|\ | | | | Effects - Allow queue: true - Fixes #10445
| * Effects - Allow queue: true - Fixes #10445Corey Frang2011-10-071-2/+2
| |
* | Minor fix in events; undeclared var from last committimmywil2011-10-071-4/+4
|/
* Merge pull request #531 from rwldrn/events.js-cleanupDave Methvin2011-10-071-26/+36
|\ | | | | Style sweep
| * Additional nitsRick Waldron2011-10-061-1/+1
| |
| * Style sweepRick Waldron2011-10-061-26/+36
| |
* | Add a hook for removing contenteditable in IE6/7 and remove the unnecessary ↵timmywil2011-10-061-23/+20
|/ | | | jQuery.attrFix. Fixes #10429.
* Rename jQuery.event.propHooks to .fixHooks.Dave Methvin2011-10-051-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.
* Landing pull request 530. Fixes coniditional path for tr, td ↵Rick Waldron2011-10-041-1/+1
| | | | | | | | defaultDisplay() calls. Fixes #10416. More Details: - https://github.com/jquery/jquery/pull/530 - http://bugs.jquery.com/ticket/10416
* isProgressing becomes isPending. Unit tests added.jaubourg2011-10-041-1/+1
|
* updated Juriy Zaytsev's detecting event support technique link in support.jsShi Chuan2011-10-041-1/+1
|
* Add support for calling outer/inner Width/Height on the window and document. ↵timmywil2011-09-301-2/+6
| | | | Fixes #9434.
* Fix #10375. Don't put `type` in jQuery.event.propsDave Methvin2011-09-291-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.
* Update Sizzle. Fixes #3144, #6863.timmywil2011-09-281-0/+0
|
* Expose jQuery.event.simulate for use by special event handlers.Dave Methvin2011-09-281-23/+23
|
* Landing pull request 520. Unset the complete function just before calling it ↵Corey Frang2011-09-281-4/+12
| | | | | | | | to avoid an exception creating a loop. Fixes #5684. More Details: - https://github.com/jquery/jquery/pull/520 - http://bugs.jquery.com/ticket/5684
* Landing pull request 514. 1.7 - queue refactoring to handle delay stop - ↵Corey Frang2011-09-282-29/+59
| | | | | | | | Fixes #6150. More Details: - https://github.com/jquery/jquery/pull/514 - http://bugs.jquery.com/ticket/6150
* Move createSafeFragment to the top to satisfy linttimmywil2011-09-281-17/+17
|
* Fixes IE7 test suite. Keep the testElement attached and set necessary styles ↵timmywil2011-09-281-3/+6
| | | | on it to fix the offset with margin test.
* Fixes a fail in unit/traversing. Use an iframe's document for creating the ↵timmywil2011-09-281-17/+25
| | | | html5 fragment when necessary.
* Minor cleanups to code. Futile effort to get IE to pass the unit test.Dave Methvin2011-09-251-4/+5
|
* propHooks now an object with `props` array and `filter` function.Dave Methvin2011-09-251-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 Methvin2011-09-241-44/+91
|\ | | | | | | | | | | | | | | fix-8789-rwldrn-fix Conflicts: src/event.js test/unit/event.js
| * Moves mouse properties to mousePropsRick Waldron2011-09-231-1/+2
| |