mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
Remove unused helper functions
This commit is contained in:
parent
b2b17f4c3d
commit
d9f00c4839
1 changed files with 0 additions and 8 deletions
|
@ -105,18 +105,10 @@ function onKeyUp(evt: KeyboardEvent): void {
|
|||
}
|
||||
}
|
||||
|
||||
function nodeIsBRElement(node: Node): node is HTMLBRElement {
|
||||
return nodeIsElement(node) && node.tagName === "BR";
|
||||
}
|
||||
|
||||
function nodeIsElement(node: Node): node is Element {
|
||||
return node.nodeType === Node.ELEMENT_NODE;
|
||||
}
|
||||
|
||||
function nodeIsText(node: Node): node is Text {
|
||||
return node.nodeType === Node.TEXT_NODE;
|
||||
}
|
||||
|
||||
const INLINE_TAGS = [
|
||||
"A",
|
||||
"ABBR",
|
||||
|
|
Loading…
Reference in a new issue