aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorXe <me@christine.website>2021-11-18 18:47:48 -0500
committerXe <me@christine.website>2021-11-18 18:47:48 -0500
commit8ec8ce8b592d7c96e43bd1fc60d775305a0d81a9 (patch)
treecedc49acb4493f2ee34b3a531a4ab9baffd51512 /static
parent048db0934e3d74824dd21614c25799d87fa789be (diff)
downloadxesite-8ec8ce8b592d7c96e43bd1fc60d775305a0d81a9.tar.xz
xesite-8ec8ce8b592d7c96e43bd1fc60d775305a0d81a9.zip
Xeact post
Signed-off-by: Xe <me@christine.website>
Diffstat (limited to 'static')
-rw-r--r--static/js/xeact.min.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/static/js/xeact.min.js b/static/js/xeact.min.js
new file mode 100644
index 0000000..ab4ffc9
--- /dev/null
+++ b/static/js/xeact.min.js
@@ -0,0 +1 @@
+const h=(e,t={},r=[])=>{let n=Object.assign(document.createElement(e),t);return n.append(...r),n},x=e=>{for(;e.lastChild;)e.removeChild(e.lastChild)},g=e=>document.getElementById(e),c=e=>document.getElementsByClassName(e),s=e=>Array.from(document.querySelectorAll(e)),u=(e="",t={})=>{let r=new URL(e,window.location.href);return Object.entries(t).forEach(e=>{var[t,e]=e;r.searchParams.set(t,e)}),r.toString()},r=e=>window.addEventListener("DOMContentLoaded",e);export{h,x,g,c,u,s,r};