add: new js files for simplicity

This commit is contained in:
2026-05-13 17:21:03 -04:00
parent 0a55500892
commit 788190328b
8 changed files with 1186 additions and 8 deletions
+3
View File
@@ -1,3 +1,5 @@
import { state } from "./state.js";
/**
* Retrieves a template from the server and sets it as the value of a specified destination element.
*
@@ -24,6 +26,7 @@ export function retrieveTemplate(orig, dest) {
.then(results => {
const div = document.querySelector('#' + dest);
div.value = results;
state.textDirty = true;
});
}