File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ This adds ~1KB of focused utilities without the bloat of jQuery UI or larger plu
16
16
17
17
``` html
18
18
<script src =" https://code.jquery.com/jquery-3.7.1.slim.min.js" ></script >
19
- <script src =" https://0.1.4/src/jquery-micro-utils.js" ></script >
19
+ <script src =" https://cdn.jsdelivr.net/gh/AnswerDotAI/jquery-micro-utils@ 0.1.4/src/jquery-micro-utils.js" ></script >
20
20
```
21
21
22
22
Or use npm/yarn:
Original file line number Diff line number Diff line change @@ -57,10 +57,10 @@ NEW_VERSION="$(perl -ne 'print $1 if /"version":\s*"([^"]+)"/' package.json)"
57
57
update_version () {
58
58
local ver=" $1 "
59
59
# Update source file version
60
- perl -pi -e ' s/(jQuery\s+ Micro\s+ Utils\s+ v)\d+\.\d+\.\d+/${1} ' " $ver " ' /g' src/jquery-micro-utils.js
61
- perl -pi -e ' s/(\$\.microUtils\s*=\s*\{\s* version:\s* [' \' ' "])([^' \' ' "]+)([' \' ' "])\s*\}/${1} ' " $ver " ' ${3} /g' src/jquery-micro-utils.js
60
+ perl -pi -e ' s/(jQuery Micro Utils v)\d+\.\d+\.\d+/\1 ' " $ver " ' /g' src/jquery-micro-utils.js
61
+ perl -pi -e ' s/(\$\.microUtils = \{ version: [' \' ' "])([^' \' ' "]+)([' \' ' "] \})/\1 ' " $ver " ' \3 /g' src/jquery-micro-utils.js
62
62
# Update README CDN link
63
- perl -pi -e ' s/(cdn\.jsdelivr\.net\/gh\/AnswerDotAI\/jquery-micro-utils@)\d+\.\d+\.\d+/${1} ' " $ver " ' /g' README.md
63
+ perl -pi -e ' s/(cdn\.jsdelivr\.net\/gh\/AnswerDotAI\/jquery-micro-utils@)\d+\.\d+\.\d+/\1 ' " $ver " ' /g' README.md
64
64
}
65
65
66
66
update_version " $NEW_VERSION "
Original file line number Diff line number Diff line change 1
1
/*!
2
- * 0 .1.4
2
+ * jQuery Micro Utils v0 .1.4
3
3
* Small, CDN-friendly helpers for efficient traversal & ergonomics.
4
4
* (c) 2025 Answer.AI — MIT License
5
5
*/
You can’t perform that action at this time.
0 commit comments