GeoSot
358486553a
Checkpoint
2022-06-30 22:56:21 +03:00
GeoSot
66fcd62569
EventHandler: rename functions & variables
2022-06-30 22:55:03 +03:00
Aleksander Machniak
505e0235b9
Fix interoperability issue regarding Event properties ( #36386 )
...
* 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 <geo.sotis@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-06-30 22:52:47 +03:00
GeoSot
ec8166a90f
fix: fix possible bug on event handler. ( #36561 )
...
some browsers validate the empty object as `true`, so is safer to use an explicit check
2022-06-14 08:33:53 +03:00
GeoSot
b5a956781f
Assorted Event handler patches ( #36171 )
...
* 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 <xhmikosr@gmail.com>
2022-05-16 07:59:50 -07:00
Mark Otto
f7e8ca91e0
Prepare v5.2.0-beta1
2022-05-13 19:44:01 +03:00
GeoSot
3edead4ffe
EventHandler: change check method for custom events, avoiding regex
2022-04-25 19:52:27 -07:00
XhmikosR
cf7fec8a2e
event-handler.js: remove unneeded return statement
2022-02-01 12:43:19 +02:00
GeoSot
a1e924c4da
Event-handler: use `Array.find` instead of `for`
2022-02-01 12:43:19 +02:00
GeoSot
fc7c5fcb7a
Event-handler: initialize variable properly
2022-02-01 12:43:19 +02:00
GeoSot
d092817059
Event handler: merge `new Event` with `new CustomEvent`
2022-01-30 14:15:17 +02:00
GeoSot
fa93995123
Event handler: replace deprecated `initEvent`
2022-01-30 14:15:17 +02:00
XhmikosR
558002f3dc
Return early in more places
2022-01-29 13:25:30 +02:00
XhmikosR
b5147ec218
event-handler.js: use `for...of`
2022-01-29 13:25:30 +02:00
XhmikosR
62d86c07f8
Rename variables
2022-01-29 13:25:30 +02:00
XhmikosR
0c3dfe104b
Remove a few unneeded variables
2022-01-29 13:25:30 +02:00
XhmikosR
e8f702666f
JS: minor refactoring ( #35183 )
...
* 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-13 15:19:28 +03:00
XhmikosR
c44d64ed71
Merge remote-tracking branch 'remotes/origin/v513'
2021-10-09 18:28:28 +03:00
XhmikosR
1a6fdfae6b
Bump version to 5.1.3.
2021-10-09 09:43:19 +03:00
XhmikosR
666fe596bf
Enable `unicorn/no-array-for-each` rule
2021-10-05 19:52:11 +03:00
XhmikosR
2b4d0d166b
Enable `unicorn/no-for-loop` rule
2021-10-05 19:52:11 +03:00
XhmikosR
5ecef8ac01
Release v5.1.2 ( #35114 )
2021-10-05 18:50:18 +03:00
XhmikosR
0d81d3cbc1
Release v5.1.1 ( #34869 )
...
* Prepare v5.1.1.
* Dist
2021-09-07 18:37:44 +03:00
XhmikosR
4a4b61f082
Update eslint-plugin-unicorn to v35.0.0
2021-08-30 15:51:44 +03:00
XhmikosR
f20fece3a8
Prepare v5.1.0. ( #34674 )
2021-08-04 18:41:51 +03:00
XhmikosR
688bce4fa6
Release v5.0.2 ( #34276 )
...
* Bump version to v5.0.2.
* Dist
2021-06-22 21:29:16 +03:00
XhmikosR
58b1be927f
Release v5.0.1 ( #33972 )
...
* Bump version to 5.0.1.
* Dist
2021-05-13 19:22:20 +03:00
XhmikosR
bf09367486
Release v5.0.0 ( #33647 )
...
* Bump version to 5.0.0
* Fix npm tag
* Dist
2021-05-05 22:32:12 +03:00
alpadev
d67121db28
Fix regression for handling `mouseenter`/`mouseleave` events introduced by #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 <xhmikosr@gmail.com>
2021-04-19 08:30:33 +03:00
alpadev
db32b2380c
fix: make EventHandler better handle mouseenter/mouseleave events ( #33310 )
...
* fix: make EventHandler better handle mouseenter/mouseleave events
* refactor: simplify custom events regex and move it to a variable
2021-04-13 06:25:58 +03:00
XhmikosR
220139a89f
Release v5.0.0-beta3 ( #33439 )
2021-03-23 18:26:54 +02:00
XhmikosR
e50c11b8c6
Release v5.0.0-beta2 ( #32467 )
...
* Bump version to 5.0.0-beta2
* Dist
2021-02-10 18:14:51 +02:00
dependabot[bot]
1b46601ce8
Bump eslint-plugin-unicorn from 25.0.1 to 26.0.1 ( #32784 )
...
* 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] <support@github.com>
* Updates for `eslint-plugin-unicorn@26.0.1`
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-14 00:29:26 +02:00
XhmikosR
8dc85c657e
Prepare v5.0.0-beta1.
2020-12-07 18:18:16 +02:00
XhmikosR
53ec604eb1
Use `String.startsWith`
2020-11-14 15:54:50 +02:00
XhmikosR
6d7bc54d22
Switch to `Set#has()`
2020-11-14 15:54:50 +02:00
XhmikosR
b9f7668cf6
Switch to `String.includes()`
2020-11-14 15:54:50 +02:00
XhmikosR
384eccbfaf
Prepare v5.0.0-alpha3 ( #32122 )
2020-11-11 19:07:37 +02:00
XhmikosR
e8f1709adf
Drop Legacy Edge support.
...
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-05 15:37:34 +02:00
Sascha
c21506d499
Fix TypeError when Bootstrap is included in `head` ( #32024 )
...
* 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 <xhmikosr@gmail.com>
2020-11-01 15:32:36 +02:00
XhmikosR
b083c9639f
Prepare v5.0.0-alpha2. ( #31748 )
2020-09-29 18:33:00 +03:00
XhmikosR
f15af45c6e
Unbreak lines.
2020-07-12 15:52:25 +03:00
Tanguy Krotoff
d80a9fc553
Fix tooltip when hovering a children element (delegateTarget) ( #30928 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-18 10:02:44 +03:00
XhmikosR
94a5d87e15
Unbreak short lines
2020-06-17 16:58:56 +03:00
XhmikosR
c28934cb18
Rename "master" to "main". ( #31050 )
2020-06-16 21:41:47 +03:00
XhmikosR
38ec7c4df7
Bump version to 5.0.0-alpha1 ( #29925 )
...
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.
2020-05-13 22:36:00 +03:00
Tanguy Krotoff
d7f0f1aac9
Replace event.delegateTarget with event.target
...
No need for fixEvent() anymore
2020-04-17 18:22:15 +03:00
Tanguy Krotoff
dcd99aa7d1
Replace event.which with event.key and event.button
2020-04-17 18:22:15 +03:00
Johann-S
47aef7b2c6
Remove IE compatibility JS code
2020-03-18 20:59:27 +02:00
XhmikosR
622c914a3a
Update devDependencies. ( #29447 )
2019-10-07 09:31:12 +03:00