Skip to content

Commit 6f98e16

Browse files
committed
v10.2.5 => Release Notes for details
1 parent 9c83549 commit 6f98e16

15 files changed

+45
-42
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ autoComplete.js is a simple, pure vanilla Javascript library progressively desig
5151
`JS`
5252

5353
```html
54-
<script src="https://cdn.jsdelivr.net/npm/@tarekraafat/autocomplete.js@10.2.4/dist/autoComplete.min.js"></script>
54+
<script src="https://cdn.jsdelivr.net/npm/@tarekraafat/autocomplete.js@10.2.5/dist/autoComplete.min.js"></script>
5555
```
5656

5757
`CSS`
5858

5959
```html
60-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tarekraafat/autocomplete.js@10.2.4/dist/css/autoComplete.min.css">
60+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tarekraafat/autocomplete.js@10.2.5/dist/css/autoComplete.min.css">
6161
```
6262
#### Package Manager
6363

dist/autoComplete.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,7 @@
575575
}, resultsList["class"] && {
576576
"class": resultsList["class"]
577577
}));
578+
addEvents(ctx);
578579
if (ctx.data.cache) {
579580
return getData(ctx).then(function ($await_2) {
580581
try {
@@ -585,7 +586,6 @@
585586
}, $error);
586587
}
587588
function $If_1() {
588-
addEvents(ctx);
589589
eventEmitter("init", ctx);
590590
return $return();
591591
}

dist/autoComplete.js.gz

0 Bytes
Binary file not shown.

dist/autoComplete.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/autoComplete.min.js.gz

1 Byte
Binary file not shown.

docs/demo/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
7373
<meta name="theme-color" content="#ffffff">
7474
<link rel="stylesheet" type="text/css" media="screen"
75-
href="https://cdn.jsdelivr.net/npm/@tarekraafat/autocomplete.js@10.2.4/dist/css/autoComplete.min.css">
75+
href="https://cdn.jsdelivr.net/npm/@tarekraafat/autocomplete.js@10.2.5/dist/css/autoComplete.min.css">
7676
<!-- <link rel="stylesheet" type="text/css" media="screen" href="./css/autoComplete.css"> -->
7777
<link rel="stylesheet" type="text/css" media="screen" href="./css/main.css">
7878
<link href="https://fonts.googleapis.com/css?family=PT+Sans" rel="stylesheet">
@@ -150,7 +150,7 @@ <h4>mode</h4>
150150
</div>
151151
</footer>
152152
</div>
153-
<script src="https://cdn.jsdelivr.net/npm/@tarekraafat/autocomplete.js@10.2.4/dist/autoComplete.min.js"></script>
153+
<script src="https://cdn.jsdelivr.net/npm/@tarekraafat/autocomplete.js@10.2.5/dist/autoComplete.min.js"></script>
154154
<!-- <script src="./js/autoComplete.js"></script> -->
155155
<script src="./js/index.js"></script>
156156
</body>

docs/demo/js/autoComplete.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,7 @@
575575
}, resultsList["class"] && {
576576
"class": resultsList["class"]
577577
}));
578+
addEvents(ctx);
578579
if (ctx.data.cache) {
579580
return getData(ctx).then(function ($await_2) {
580581
try {
@@ -585,7 +586,6 @@
585586
}, $error);
586587
}
587588
function $If_1() {
588-
addEvents(ctx);
589589
eventEmitter("init", ctx);
590590
return $return();
591591
}

docs/demo/js/autoComplete.js.gz

0 Bytes
Binary file not shown.

docs/demo/js/autoComplete.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/demo/js/autoComplete.min.js.gz

1 Byte
Binary file not shown.

docs/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
src="//platform-api.sharethis.com/js/sharethis.js#property=5c213660c276020011d38212&product=inline-share-buttons"
159159
async="async"></script>
160160
<link rel="stylesheet"
161-
href="https://cdn.jsdelivr.net/npm/@tarekraafat/autocomplete.js@10.2.4/dist/css/autoComplete.min.css">
161+
href="https://cdn.jsdelivr.net/npm/@tarekraafat/autocomplete.js@10.2.5/dist/css/autoComplete.min.css">
162162
</head>
163163

164164
<body>
@@ -209,7 +209,7 @@
209209
mustache: {
210210
data: ["../package.json", {
211211
minVersion: "10.2",
212-
version: "10.2.4"
212+
version: "10.2.5"
213213
}]
214214
}
215215
}
@@ -224,7 +224,7 @@
224224
<script src="https://cdn.jsdelivr.net/npm/docsify-example-panels"></script>
225225
<script src="//cdn.jsdelivr.net/npm/codeblock-iframe@latest/dist/index.min.js"></script>
226226
<script src="//cdn.jsdelivr.net/npm/docsify-codeblock-iframe@latest/dist/index.min.js"></script>
227-
<script src="https://cdn.jsdelivr.net/npm/@tarekraafat/autocomplete.js@10.2.4/dist/autoComplete.min.js"></script>
227+
<script src="https://cdn.jsdelivr.net/npm/@tarekraafat/autocomplete.js@10.2.5/dist/autoComplete.min.js"></script>
228228
</body>
229229

230230
</html>

docs/release-notes.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ For more information on semantic versioning, please visit <http://semver.org/>.
3535

3636
***
3737

38-
### v10.2.4 ✨
38+
### v10.2.5 ✨
39+
- 🔧 Fixed: `response` eventEmitter not firing in `data.cache` mode
40+
41+
### v10.2.4
3942
- 🎛️ Updated: Library code with minor optimizations (Thanks 👍 @folknor) #256
4043

4144
### v10.2.3

package-lock.json

Lines changed: 26 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "10.2.4",
2+
"version": "10.2.5",
33
"name": "@tarekraafat/autocomplete.js",
44
"description": "Simple autocomplete pure vanilla Javascript library.",
55
"keywords": [

src/services/init.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ export default async function (ctx) {
3939
...(resultsList.class && { class: resultsList.class }),
4040
});
4141

42-
// Get the data from store
43-
if (ctx.data.cache) await getData(ctx);
44-
4542
// Attach Events listeners
4643
addEvents(ctx);
4744

45+
// Get the data from store
46+
if (ctx.data.cache) await getData(ctx);
47+
4848
/**
4949
* @emit {init} event on Initialization
5050
**/

0 commit comments

Comments
 (0)