Skip to content

Commit

Permalink
v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wbotelhos committed Dec 24, 2019
1 parent 509e168 commit b26e36c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ Complety is a plugin that generates an autocomplete.
## Options

```js
cache: {} // keeps json results on keys represented by the request url
cache: true // enables cache
cacheData: {} // keeps json results on keys represented by the request url
delay: 300 // time in milliseconds to delay the search after user typing
functions.getValue: undefined // function to choose which attribute of json to use on search
keys: undefined // keys of json that will be highlighted
Expand Down
12 changes: 11 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,21 @@

-  

### v0.4.0

#### News

- Adds `cacheData` to keep the cache data. The URL is the key and the JSON content is the value. You can preload it.

#### Update

- Option `cache` now enables `true` or disables `false` the cache having `true` as default;

### v0.3.0

#### News

- Add `params` options to be possible pass params to URL query.
- Adds `params` options to be possible pass params to URL query.

### v0.2.1

Expand Down
2 changes: 1 addition & 1 deletion lib/complety.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* author: Washington Botelho
* github: wbotelhos/complety
* version: 0.3.0
* version: 0.4.0
*
*/

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
"scripts": {
"test": "node_modules/karma/bin/karma start karma.conf.js"
},
"version": "0.3.0"
"version": "0.4.0"
}

0 comments on commit b26e36c

Please sign in to comment.