Skip to content

Commit 73c693d

Browse files
committed
misc
1 parent 13c3038 commit 73c693d

File tree

4 files changed

+758
-279
lines changed

4 files changed

+758
-279
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ npm-debug.log*
1212
# Docs
1313
.cache-loader
1414
build/
15-
1615
docs/.vitepress/dist
1716
docs/.vitepress/cache
1817
docs/public/register.bundle.esm.js

docs/scripts/setup-sample.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export async function setupSample(code, {height = '450px'} = {}) {
2121
.replaceAll('../scripts/', './'),
2222
},
2323
'index.html': {
24-
content: `<!doctype html>
24+
content: `<!DOCTYPE html>
2525
<head>
2626
<link rel="stylesheet" href="styles.css">
2727
</head>
@@ -42,5 +42,5 @@ export async function setupSample(code, {height = '450px'} = {}) {
4242
},
4343
},
4444
};
45-
document.querySelector('[data-sample-holder]').append(projectElem, previewElem, editorElem);
45+
document.querySelector('[data-sample-holder]')?.append(projectElem, previewElem, editorElem);
4646
}

0 commit comments

Comments
 (0)