aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
Commit message (Collapse)AuthorAgeFilesLines
...
* Tests:Docs: Fix various typosGary Ye2015-10-121-1/+1
| | | | | | | | | | | | * Changes "baar" to "bar" when used with "foo" in readme and comments of js files * mousenter -> mouseenter Thanks @garysye, @KimTaehee Closes gh-2613 Closes gh-2601
* Data: Don't expose jQuery.acceptDataJason Bedard2015-09-081-5/+5
| | | | | | jQuery.acceptData is an undocumented internal API that shouldn't be exposed. Fixes gh-2555
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-071-50/+70
| | | | Fixes gh-2056
* Event: Only check elements for delegation matchesRichard Gibson2015-08-101-1/+2
| | | | | | Closes gh-2529 Ref trac-13208 (cherry picked from commit fc2ba2e1361126c39f955437ee025cfca3bffa65)
* Event: Update support comments for mouseenter/mouseleave implementationMichał Gołębiowski2015-07-271-7/+4
| | | | | | | | | Custom mouseenter/mouseleave implementation was needed because of: 1. Safari 6 not implementing mouseenter/mouseleave at all. 2. Chrome sending mouseenter too often. The second issue has been fixed in Chrome but exists now in Safari 7 (it's fixed in Safari 8) so we have to keep it for now, unfortunately.
* Core: Adjust comments & tests after dropping Safari 6 supportMichał Gołębiowski2015-07-271-1/+1
| | | | | | | | Support comments that mentioned only Safari < 7 were checked & updated to account for bugs existing in newer versions as well; Safari 6 support test results were removed. Refs gh-2482
* Event: Remove an internal argument to the on methodMichał Gołębiowski2015-06-141-51/+55
| | | | Refs gh-2301
* Event: remove preDispatch hook & simplify "simulate" signatureOleg Gaidarenko2015-06-051-7/+4
| | | | Closes gh-2358
* Event: remove outdated originalEvent hackOleg Gaidarenko2015-05-291-7/+13
| | | | | Closes gh-2335 Ref 7475d5debeb7c53158921ed40f6c2fdb25a2cc86
* Event: Remove fake originalEvent from jQuery.Event.simulateGabriel Schulhof2015-05-291-2/+6
| | | | | Fixes gh-2300 Closes gh-2303
* Event: provide verbose comment for focus(in | out) & rename support propOleg Gaidarenko2015-05-191-5/+11
| | | | Closes gh-2312
* Data: remove the expando when there's no more dataTimmy Willison2015-05-121-7/+2
| | | | | Fixes gh-1760 Close gh-2271
* Event: remove redundant guards for the event methodsOleg Gaidarenko2015-05-031-3/+3
| | | | | Fixes gh-2047 Closes gh-2125
* Core:CSS:Event: simplification of native method signaturesOleg Gaidarenko2015-05-031-2/+3
| | | | | | | | | | * Remove third argument from "addEventListener" * Remove third argument from "removeEventListener" * Remove second argument from "getComputedStyle" Ref gh-2047
* Event: add support commentOleg Gaidarenko2015-05-031-0/+6
| | | | Ref gh-2047
* Event: remove guard for falsy handler argument of jQuery#on methodOleg Gaidarenko2015-05-031-2/+0
| | | | | | | | Since we don't have this in off method and its a common perception that this is a rudiment code Ref gh-2248 Closes gh-2249
* Event: correct support commentOleg Gaidarenko2015-03-081-1/+3
| | | | | See discussion in https://github.com/jquery/jquery/commit/a5e1c9b44c971fd7046d9a95bd0810e50840b663
* Data: move element cache to element[expando]Rick Waldron2015-03-041-1/+5
| | | | | | | | | - avoid explicit data.discard() cleanup calls - explicitly remove the data.events property, only when private data exists - reduces code footprint Fixes gh-1734 Close gh-1428
* Event: Add a note about a mouseenter bug in ChromeMichał Gołębiowski2015-01-251-0/+4
| | | | Refs https://code.google.com/p/chromium/issues/detail?id=333868
* Event: HTML5 drop events inherit from MouseEventDave Methvin2015-01-141-1/+1
| | | | | Fixes gh-2009 Ref gh-1925
* Core: Standardize indexOf comparisonsRichard Gibson2015-01-101-2/+2
| | | | | | | | not present: `< 0` present: `> -1` at index: `=== N` Closes gh-1984
* Event: Normalize mouse event properties in drag eventsAditya Raghavan2015-01-051-1/+1
| | | | | | | DragEvent is a superset of MouseEvent, so we want to fix up mouse properties like pageX and pageY. Fixes gh-1925
* Build: Don't assume the browser environment; smoke test on Node w/ jsdomMichał Gołębiowski2014-12-261-1/+2
| | | | | Fixes gh-1950 Closes gh-1949
* Event: Empty namespaces should be uneventfully ignoredDave Methvin2014-12-091-1/+1
| | | | | | Thanks @hamishdickson for the report! Closes gh-1769
* Event: Copy detail property to jQuery.Event on native eventsDave Methvin2014-12-031-1/+1
| | | | Fixes gh-1867
* Misc: Drop support for older browsers; update support commentsMichał Gołębiowski2014-11-031-8/+5
| | | | | | | | That includes Opera 12.x, Firefox<29, Safari<6.0 and some hacks for old Blackberry. Closes gh-1820 Refs gh-1815
* Event: Restore the `constructor` property on jQuery.Event prototypeDaniel Herman2014-09-041-0/+1
| | | | | | | | | The original definition of the jQuery.Event prototype was paving over the `constructor` property which was causing jQuery.isPlainObject to improperly report that an instance of jQuery.Event was a plain object. Fixes #15090 Closes gh-1580
* Core: Drop strundefined variableChris Antaki2014-09-021-3/+2
|
* Build: update grunt-jscs-checker and pass with the new rulesTimmy Willison2014-07-171-25/+40
|
* Support: clean up comments and Support notationDave Methvin2014-06-101-5/+5
| | | | Closes gh-1577
* Event: Fix isDefaultPrevented for bubbled events in Android 2.3Michał Gołębiowski2014-03-201-2/+2
| | | | | Fixes #14897 Closes gh-1545
* Event: Treat Pointer events like mouse events, #14741louisremi2014-03-161-2/+4
| | | | | Ref #14741 Ref gh-1503
* Event: Call underlying stopImmediatePropagation when presentDave Methvin2014-03-121-0/+7
| | | | Fixes #13997
* Event: Allow triggerHandler(beforeunload)Dave Methvin2014-03-041-1/+1
| | | | Fixes #14791
* Ref #14180, let focusin/out work on non-element targets.Dave Methvin2013-11-141-2/+2
|
* Event: Fix #14544. Remove elem from event handle, close gh-1400.Ilya Kantor2013-11-141-7/+2
| | | | | | | This also reduces memory leaks if the element is removed without cleaning events (e.g with native DOM operations). Not pickable into the 1.x branch because oldIE still needs this.
* Fix #14180. Allow cross-frame use of focusin/out. Close gh-1369.Dave Methvin2013-11-121-7/+17
|
* No ticket. Remove useless commentOleg2013-10-281-1/+0
|
* Revert "Fix #14180. Allow cross-frame use of focusin/out. Close gh-1369."Dave Methvin2013-10-221-14/+7
| | | | This reverts commit 9b6f0745805941a6d7b7c16c02cf56ab00021c82.
* Fix #14180. Allow cross-frame use of focusin/out. Close gh-1369.Dave Methvin2013-10-221-7/+14
|
* Fixes #14450. Remove CommonJS+AMD syntax.Timmy Willison2013-10-151-13/+13
|
* Fix #13993. Save result of native inline handlers. Close gh-1368.Dave Methvin2013-10-061-2/+5
|
* Fix #14282. Don't fondle getPreventDefault if preventDefault exists. Close ↵Dave Methvin2013-09-191-3/+4
| | | | gh-1365.
* No ticket: fix code style inconsistencies. Closes gh-1361Oleg2013-09-131-3/+3
|
* Separate jQuery.fn.init into its own module (for lighter core dependencies ↵Timmy Willison2013-09-091-0/+1
| | | | across all modules)
* Break jQuery.access out into its own module to separate it from core; Adjust ↵Timmy Willison2013-09-091-13/+15
| | | | CommonJS+AMD build support to include non-var dependencies. Convert modules with more than a few dependencies to use CJS+AMD syntax.
* Always return jQuery in modules that can be included separatelyTimmy Willison2013-09-081-0/+1
|
* Fix #10814. Make support tests lazy and broken out to components.Michał Gołębiowski2013-09-061-4/+5
|
* No ticket. Add a support note about defaultPrevented missing in Android < 4.0Michał Gołębiowski2013-08-191-1/+4
|
* AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.Timmy Willison2013-08-151-6/+20
|