Added name to contributors list as well as addressed issue #3343. Ran ninja check and the build compiled successfully. (#3345)

This commit is contained in:
Dillon Baldwin 2024-08-07 04:15:50 -05:00 committed by GitHub
parent e0de13e240
commit a2b4b57390
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 6 deletions

View file

@ -184,6 +184,7 @@ Rastislav Kish <rastislav.kish@protonmail.com>
Expertium <https://github.com/Expertium>
Christian Donat <https://github.com/cdonat2>
Asuka Minato <https://asukaminato.eu.org>
Dillon Baldwin <https://github.com/DillBal>
********************
The text of the 3 clause BSD license follows:

View file

@ -142,11 +142,5 @@ const getAnchorParent =
const isListItem = (element: Element): element is HTMLLIElement =>
window.getComputedStyle(element).display === "list-item";
const isParagraph = (element: Element): element is HTMLParamElement => element.tagName === "P";
const isBlockElement = (
element: Element,
): element is HTMLLIElement & HTMLParamElement => isListItem(element) || isParagraph(element);
export const getListItem = getAnchorParent(isListItem);
export const getParagraph = getAnchorParent(isParagraph);
export const getBlockElement = getAnchorParent(isBlockElement);