aboutsummaryrefslogtreecommitdiff
path: root/js/src/dom/selector-engine.js
AgeCommit message (Collapse)AuthorFilesLines
2020-06-16Rename "master" to "main". (#31050)XhmikosR1-1/+1
2020-05-13Bump version to 5.0.0-alpha1 (#29925)XhmikosR1-1/+1
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.
2020-04-28Drop closest from SelectorEngine (#30653)Martijn Cuppens1-4/+0
Co-authored-by: XhmikosR <[email protected]>
2020-03-25fix: remove make array util function (#30430)Johann-S1-5/+4
2020-03-23Use next dropdown menu instead of first of the parentMartijn Cuppens1-0/+14
2020-03-18Remove IE compatibility JS codeJohann-S1-3/+3
2020-03-09`prev()` function fails when non-element nodes are present (#30117)Martijn Cuppens1-7/+5
The `prev()` function doesn't take nodes other than elements into account. Also we could simplify things a lot using the `previousElementSibling` property. This property isn't fully supported in IE, it only works for elements, but since the `element` variable is an element, we can safely use it here. I've also added an additional test. I don't think we had this issue in v4, since we relied on jQuery back then. Ref. https://developer.mozilla.org/en-US/docs/Web/API/NonDocumentTypeChildNode/nextElementSibling
2019-07-23rewrite unit tests for selector engineJohann-S1-24/+2
2019-05-08Rename `eventHandler` and `selectorEngine` files.XhmikosR1-0/+97