Skip to content

Commit 919b6ce

Browse files
Updated REAMDE
1 parent 356fbac commit 919b6ce

2 files changed

Lines changed: 25 additions & 1 deletion

File tree

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
![Version](https://img.shields.io/badge/version-v1.2.0-blue)
2+
![License](https://img.shields.io/badge/license-MIT-green)
3+
![CDN](https://img.shields.io/badge/CDN-jsDelivr-orange)
4+
![Status](https://img.shields.io/badge/status-stable-success)
5+
16
# KAlert.js
27

38
✨ Lightweight, modern, animated alert dialog library for JavaScript projects.
@@ -7,6 +12,22 @@ It automatically loads styles and icons and works instantly via CDN.
712

813
---
914

15+
# ❤️ Support the Project
16+
17+
If you find **KAlert.js** useful, please consider supporting the project:
18+
19+
⭐ Star this repository
20+
🐛 Report issues
21+
💡 Suggest new features
22+
23+
And don’t forget to follow me on Instagram for more developer content:
24+
25+
📸 https://instagram.com/coderx09
26+
27+
Thanks for your support! 🚀
28+
29+
---
30+
1031
# 🚀 Features
1132

1233
✅ Animated modal dialogs

kalertdialog.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
(function (global) {
2+
// Version for cache busting
3+
const version = "v1.2.0";
4+
25
if (!document.getElementById("kalert-fa")) {
36
const fa = document.createElement("link");
47

@@ -20,7 +23,7 @@
2023
style.rel = "stylesheet";
2124

2225
style.href =
23-
"https://cdn.jsdelivr.net/gh/TutorialsAndroid/KAlert@v1.2.0/kalertdialog.css";
26+
"https://cdn.jsdelivr.net/gh/TutorialsAndroid/KAlert@" + version + "/kalertdialog.css";
2427

2528
document.head.appendChild(style);
2629
}

0 commit comments

Comments
 (0)