Skip to content

Commit

Permalink
Version 7.1.3 => Release History for details
Browse files Browse the repository at this point in the history
  • Loading branch information
TarekRaafat committed Nov 2, 2019
1 parent 57836ef commit 1c3464d
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ git clone https://github.com/TarekRaafat/autoComplete.js.git
`CSS`

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

`JS`

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

- <a href="https://www.npmjs.com/package/@tarekraafat/autocomplete.js">npm</a> install `(Node Package Manager)`
Expand Down
2 changes: 1 addition & 1 deletion dist/js/autoComplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
if (event.keyCode === keys.ENTER) {
return value.index === Number(selection.getAttribute(dataAttribute));
} else if (event.type === "mousedown") {
return value.index === Number(event.target.getAttribute(dataAttribute));
return value.index === Number(event.currentTarget.getAttribute(dataAttribute));
}
})
});
Expand Down
Binary file modified dist/js/autoComplete.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/js/autoComplete.min.js

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

Binary file modified dist/js/autoComplete.min.js.gz
Binary file not shown.
8 changes: 4 additions & 4 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ npm run build
`CSS`

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

`JS`

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

- <img src="./img/logos/html_logo.png" alt="HTML Logo" width="40px"> HTML Local load
Expand Down Expand Up @@ -121,7 +121,7 @@ const autoComplete = require("@tarekraafat/autocomplete.js/dist/js/autoComplete"
```html
<link rel="stylesheet" href="./css/autoComplete.css">
OR
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tarekraafat/[email protected].2/dist/css/autoComplete.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tarekraafat/[email protected].3/dist/css/autoComplete.min.css">
```

2. Assign the default `id` value `"autoComplete"` to the desired input field or use any custom `id/class` and configure the API selector accordingly in `Step 4`
Expand All @@ -136,7 +136,7 @@ OR
<script src="./js/autoComplete.min.js"></script>
<script src="./js/index.js"></script>
OR
<script src="https://cdn.jsdelivr.net/npm/@tarekraafat/[email protected].2/dist/js/autoComplete.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@tarekraafat/[email protected].3/dist/js/autoComplete.min.js"></script>
<script src="./js/index.js"></script>
```

Expand Down
6 changes: 5 additions & 1 deletion docs/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ Release flags:

## Release Notes

- v7.1.2 :sparkles:
- v7.1.3 :sparkles:
- Enhanced mouse selection (Thanks 👍 @adan-ferguson)


- v7.1.2
- Fixed error behavior occurs when searching (Empty, False, Null) record


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarekraafat/autocomplete.js",
"version": "7.1.2",
"version": "7.1.3",
"description": "Simple autocomplete pure vanilla Javascript library.",
"main": "dist/js/autoComplete.js",
"browser": "dist/js/autoComplete.min.js",
Expand Down

0 comments on commit 1c3464d

Please sign in to comment.