mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 15:09:33 +01:00
clipper: remove unneeded code & packages
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
This commit is contained in:
@@ -165,14 +165,6 @@ function getRootStylesheet() {
|
||||
return null;
|
||||
}
|
||||
|
||||
function safeQuerySelectorAll(root: Node, selector: string) {
|
||||
try {
|
||||
return (root as HTMLElement).querySelectorAll(selector);
|
||||
} catch (e) {
|
||||
return new NodeList();
|
||||
}
|
||||
}
|
||||
|
||||
const SVGElements = [
|
||||
"altGlyph",
|
||||
"altGlyphDef",
|
||||
@@ -272,6 +264,5 @@ export {
|
||||
escapeXhtml,
|
||||
width,
|
||||
height,
|
||||
safeQuerySelectorAll,
|
||||
isSVGElement
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user