Skip to content

Commit

Permalink
v10.2.5 => Release Notes for details
Browse files Browse the repository at this point in the history
  • Loading branch information
TarekRaafat committed Jul 11, 2021
1 parent 9c83549 commit 6f98e16
Show file tree
Hide file tree
Showing 15 changed files with 45 additions and 42 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ autoComplete.js is a simple, pure vanilla Javascript library progressively desig
`JS`

```html
<script src="https://cdn.jsdelivr.net/npm/@tarekraafat/[email protected].4/dist/autoComplete.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@tarekraafat/[email protected].5/dist/autoComplete.min.js"></script>
```

`CSS`

```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tarekraafat/[email protected].4/dist/css/autoComplete.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tarekraafat/[email protected].5/dist/css/autoComplete.min.css">
```
#### Package Manager

Expand Down
2 changes: 1 addition & 1 deletion dist/autoComplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,7 @@
}, resultsList["class"] && {
"class": resultsList["class"]
}));
addEvents(ctx);
if (ctx.data.cache) {
return getData(ctx).then(function ($await_2) {
try {
Expand All @@ -585,7 +586,6 @@
}, $error);
}
function $If_1() {
addEvents(ctx);
eventEmitter("init", ctx);
return $return();
}
Expand Down
Binary file modified dist/autoComplete.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/autoComplete.min.js

Large diffs are not rendered by default.

Binary file modified dist/autoComplete.min.js.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<link rel="stylesheet" type="text/css" media="screen"
href="https://cdn.jsdelivr.net/npm/@tarekraafat/[email protected].4/dist/css/autoComplete.min.css">
href="https://cdn.jsdelivr.net/npm/@tarekraafat/[email protected].5/dist/css/autoComplete.min.css">
<!-- <link rel="stylesheet" type="text/css" media="screen" href="./css/autoComplete.css"> -->
<link rel="stylesheet" type="text/css" media="screen" href="./css/main.css">
<link href="https://fonts.googleapis.com/css?family=PT+Sans" rel="stylesheet">
Expand Down Expand Up @@ -150,7 +150,7 @@ <h4>mode</h4>
</div>
</footer>
</div>
<script src="https://cdn.jsdelivr.net/npm/@tarekraafat/[email protected].4/dist/autoComplete.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@tarekraafat/[email protected].5/dist/autoComplete.min.js"></script>
<!-- <script src="./js/autoComplete.js"></script> -->
<script src="./js/index.js"></script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/demo/js/autoComplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,7 @@
}, resultsList["class"] && {
"class": resultsList["class"]
}));
addEvents(ctx);
if (ctx.data.cache) {
return getData(ctx).then(function ($await_2) {
try {
Expand All @@ -585,7 +586,6 @@
}, $error);
}
function $If_1() {
addEvents(ctx);
eventEmitter("init", ctx);
return $return();
}
Expand Down
Binary file modified docs/demo/js/autoComplete.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/demo/js/autoComplete.min.js

Large diffs are not rendered by default.

Binary file modified docs/demo/js/autoComplete.min.js.gz
Binary file not shown.
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
src="//platform-api.sharethis.com/js/sharethis.js#property=5c213660c276020011d38212&product=inline-share-buttons"
async="async"></script>
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@tarekraafat/[email protected].4/dist/css/autoComplete.min.css">
href="https://cdn.jsdelivr.net/npm/@tarekraafat/[email protected].5/dist/css/autoComplete.min.css">
</head>

<body>
Expand Down Expand Up @@ -209,7 +209,7 @@
mustache: {
data: ["../package.json", {
minVersion: "10.2",
version: "10.2.4"
version: "10.2.5"
}]
}
}
Expand All @@ -224,7 +224,7 @@
<script src="https://cdn.jsdelivr.net/npm/docsify-example-panels"></script>
<script src="//cdn.jsdelivr.net/npm/codeblock-iframe@latest/dist/index.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-codeblock-iframe@latest/dist/index.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@tarekraafat/[email protected].4/dist/autoComplete.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@tarekraafat/[email protected].5/dist/autoComplete.min.js"></script>
</body>

</html>
5 changes: 4 additions & 1 deletion docs/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ For more information on semantic versioning, please visit <http://semver.org/>.

***

### v10.2.4 ✨
### v10.2.5 ✨
- 🔧 Fixed: `response` eventEmitter not firing in `data.cache` mode

### v10.2.4
- 🎛️ Updated: Library code with minor optimizations (Thanks 👍 @folknor) #256

### v10.2.3
Expand Down
52 changes: 26 additions & 26 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "10.2.4",
"version": "10.2.5",
"name": "@tarekraafat/autocomplete.js",
"description": "Simple autocomplete pure vanilla Javascript library.",
"keywords": [
Expand Down
6 changes: 3 additions & 3 deletions src/services/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ export default async function (ctx) {
...(resultsList.class && { class: resultsList.class }),
});

// Get the data from store
if (ctx.data.cache) await getData(ctx);

// Attach Events listeners
addEvents(ctx);

// Get the data from store
if (ctx.data.cache) await getData(ctx);

/**
* @emit {init} event on Initialization
**/
Expand Down

0 comments on commit 6f98e16

Please sign in to comment.