fix install commands (#57)

* fix install commands

* allow disabling animated man

* chore: auto-fix linting and formatting issues

---------

Co-authored-by: uubulb <uubulb@users.noreply.github.com>
This commit is contained in:
UUBulb
2024-12-15 19:38:35 +08:00
committed by GitHub
co-authored by uubulb
parent 1a2c5a5a44
commit 43a97b9175
4 changed files with 36 additions and 31 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ export default function Root() {
Array.from(tempDiv.childNodes).forEach((node) => {
if (node.nodeType === Node.ELEMENT_NODE) {
const element = node as HTMLElement
; (handlers[element.tagName] || handlers.DEFAULT)(element)
;(handlers[element.tagName] || handlers.DEFAULT)(element)
} else if (node.nodeType === Node.TEXT_NODE) {
document.body.appendChild(document.createTextNode(node.textContent || ""))
}