aboutsummaryrefslogtreecommitdiff
path: root/js/src/dom/event-handler.js
AgeCommit message (Collapse)AuthorFilesLines
2023-03-29Tweak and re-organize ESLint config (#38369)XhmikosR1-1/+1
* Tweak and re-organize ESLint config * merge individual configs to the root config * enable more eslint-plugin-import rules * lint markdown files * Lint
2023-03-28event-handler: switch to const (#38362)XhmikosR1-2/+1
2023-03-22Remove version comment from JavaScript src files (#38294)GeoSot1-1/+1
2022-12-24Release v5.3.0-alpha1 (#37661)XhmikosR1-1/+1
* Bump version to 5.3.0-alpha1 * Dist * Add docs versions updates * Update note in homepage hero Co-authored-by: Mark Otto <[email protected]>
2022-11-22Merge branch 'main' into prepare-523XhmikosR1-7/+5
2022-11-21Bump version to 5.2.3XhmikosR1-1/+1
2022-11-13Use `Object.entries` in more places (#37482)XhmikosR1-4/+2
2022-11-12hydrateObj: use default param (#37483)XhmikosR1-2/+2
2022-10-26Use explicit imports in our javascript source files (#36854)GeoSot1-1/+1
2022-10-03Release v5.2.2 (#37236)XhmikosR1-1/+1
* Bump version to v5.2.2 * Dist
2022-09-07Release v5.2.1 (#37098)XhmikosR1-1/+1
* Bump version to v5.2.1. * Dist
2022-07-19Release v5.2.0 (#36768)XhmikosR1-1/+1
* Bump version to 5.2.0 * Dist * Update masthead.html
2022-06-30Fix interoperability issue regarding Event properties (#36386)Aleksander Machniak1-7/+12
* Fix interoperability issue regarding Event properties - make possible to re-set read-only event properties - use hydrateObj() to set delegateTarget property Fixes #36207 Co-authored-by: GeoSot <[email protected]> Co-authored-by: Julien Déramond <[email protected]>
2022-06-14fix: fix possible bug on event handler. (#36561)GeoSot1-1/+1
some browsers validate the empty object as `true`, so is safer to use an explicit check
2022-05-16Assorted Event handler patches (#36171)GeoSot1-47/+42
* EventHandler: rename functions & variables * EventHandler: export event hydration to function * EventHandler: rename variable * EventHandler: simplify checks and make use of one variable Move check of falsie delegated-selector, caused by tooltip.js * EventHandler: more renaming * Update event-handler.js * bump bunldewatch Co-authored-by: XhmikosR <[email protected]>
2022-05-13Prepare v5.2.0-beta1Mark Otto1-1/+1
2022-04-25EventHandler: change check method for custom events, avoiding regexGeoSot1-2/+2
2022-02-01event-handler.js: remove unneeded return statementXhmikosR1-3/+0
2022-02-01Event-handler: use `Array.find` instead of `for`GeoSot1-9/+2
2022-02-01Event-handler: initialize variable properlyGeoSot1-2/+2
2022-01-30Event handler: merge `new Event` with `new CustomEvent`GeoSot1-4/+1
2022-01-30Event handler: replace deprecated `initEvent`GeoSot1-7/+3
2022-01-29Return early in more placesXhmikosR1-6/+8
2022-01-29event-handler.js: use `for...of`XhmikosR1-2/+2
2022-01-29Rename variablesXhmikosR1-20/+20
2022-01-29Remove a few unneeded variablesXhmikosR1-5/+2
2021-10-13JS: minor refactoring (#35183)XhmikosR1-11/+1
* add missing comments * shorten block comments * reorder constants * reorder public/private methods * sort exports alphabetically in util/index.js * fix a couple of typos
2021-10-09Merge remote-tracking branch 'remotes/origin/v513'XhmikosR1-1/+1
2021-10-09Bump version to 5.1.3.XhmikosR1-1/+1
2021-10-05Enable `unicorn/no-array-for-each` ruleXhmikosR1-8/+8
2021-10-05Enable `unicorn/no-for-loop` ruleXhmikosR1-2/+2
2021-10-05Release v5.1.2 (#35114)XhmikosR1-1/+1
2021-09-07Release v5.1.1 (#34869)v5.1.1XhmikosR1-1/+1
* Prepare v5.1.1. * Dist
2021-08-30Update eslint-plugin-unicorn to v35.0.0XhmikosR1-1/+0
2021-08-04Prepare v5.1.0. (#34674)v5.1.0XhmikosR1-1/+1
2021-06-22Release v5.0.2 (#34276)v5.0.2XhmikosR1-1/+1
* Bump version to v5.0.2. * Dist
2021-05-13Release v5.0.1 (#33972)v5.0.1XhmikosR1-1/+1
* Bump version to 5.0.1. * Dist
2021-05-05Release v5.0.0 (#33647)v5.0.0XhmikosR1-1/+1
* Bump version to 5.0.0 * Fix npm tag * Dist
2021-04-19Fix regression for handling `mouseenter`/`mouseleave` events introduced by ↵alpadev1-1/+1
#33310 (#33679) * test: update spec for sibling adjacent mouseenter/mouseleave events there is a regression introduced by #33310 - this would have catched that * fix: fixup regression for mouseenter/mouseleave events introduced by #33310 the old logic only worked for parent-child movement since it checked for the relatedTarget to contain the delegateTarget - this should be fixed with this Co-authored-by: XhmikosR <[email protected]>
2021-04-13fix: make EventHandler better handle mouseenter/mouseleave events (#33310)alpadev1-10/+28
* fix: make EventHandler better handle mouseenter/mouseleave events * refactor: simplify custom events regex and move it to a variable
2021-03-23Release v5.0.0-beta3 (#33439)v5.0.0-beta3XhmikosR1-1/+1
2021-02-10Release v5.0.0-beta2 (#32467)v5.0.0-beta2XhmikosR1-1/+1
* Bump version to 5.0.0-beta2 * Dist
2021-01-14Bump eslint-plugin-unicorn from 25.0.1 to 26.0.1 (#32784)dependabot[bot]1-0/+1
* Bump eslint-plugin-unicorn from 25.0.1 to 26.0.1 Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 25.0.1 to 26.0.1. - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v25.0.1...v26.0.1) Signed-off-by: dependabot[bot] <[email protected]> * Updates for `[email protected]` Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR <[email protected]>
2020-12-07Prepare v5.0.0-beta1.XhmikosR1-1/+1
2020-11-14Use `String.startsWith`XhmikosR1-1/+1
2020-11-14Switch to `Set#has()`XhmikosR1-4/+4
2020-11-14Switch to `String.includes()`XhmikosR1-4/+4
2020-11-11Prepare v5.0.0-alpha3 (#32122)v5.0.0-alpha3XhmikosR1-1/+1
2020-11-05Drop Legacy Edge support.XhmikosR1-7/+0
This allows us to move forward without being held back. Microsoft already replaces the Legacy Edge with the new one on supported Windows versions.
2020-11-01Fix TypeError when Bootstrap is included in `head` (#32024)Sascha1-1/+1
* extend jquery after domContentLoaded event is fired * add unittest for util onDOMContentLoaded * wait for trigger jquery event after domContentLoaded * remove domcontentready from eventHandler * move istanbul ignore statements to correct line Co-authored-by: XhmikosR <[email protected]>