rename $ to h32kn$ and bump version to 0.3.1

This commit is contained in:
sss
2025-06-05 15:18:23 -07:00
parent 21f922efb4
commit 4f02d4cf0f
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
const $ = (selector) =>
const h32kn$ = (selector) =>
{
const el = document.querySelector(selector)
el.render = (html) => el.innerHTML = html
@@ -13,6 +13,6 @@ var QTModal = {
Loading...
</div>
</div>`,
show: () => $(`body`).ontop(QTModal.html),
hide: () => $('#qtmodal')?.remove()
show: () => h32kn$(`body`).ontop(QTModal.html),
hide: () => h32kn$('#qtmodal')?.remove()
}

View File

@@ -1,6 +1,6 @@
{
"name": "qtmodal",
"version": "0.3.0",
"version": "0.3.1",
"description": "",
"main": "index.js",
"type": "module",