fix exporting html
This commit is contained in:
parent
a197d21e67
commit
e8881b4a50
@ -84,7 +84,7 @@ saveHtmlButton.onclick = async (ev) => {
|
|||||||
const js = editor.getValue()
|
const js = editor.getValue()
|
||||||
.split("\n")
|
.split("\n")
|
||||||
.map((line) => " ".repeat(12) + line).join("\n");
|
.map((line) => " ".repeat(12) + line).join("\n");
|
||||||
let lib = await (await fetch("./lib.js")).text();
|
let lib = await (await fetch("./js/lib.js")).text();
|
||||||
lib = minifyJs(lib);
|
lib = minifyJs(lib);
|
||||||
|
|
||||||
const html = `
|
const html = `
|
||||||
|
Loading…
x
Reference in New Issue
Block a user