Skip to content

Commit

Permalink
Small bugfix update for TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
ten1seven committed May 14, 2020
1 parent 19e9566 commit 09eb9b5
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ var whatInput = require('what-input')

requirejs.config({
paths: {
whatInput: 'path/to/what-input'
}
whatInput: 'path/to/what-input',
},
})

require(['whatInput'], function() {})
require(['whatInput'], function () {})
```

_What Input_ will start doing its thing while you do yours.
Expand Down Expand Up @@ -201,7 +201,7 @@ Fire a function when the input or intent changes.

```javascript
// create a function to be fired
var myFunction = function(type) {
var myFunction = function (type) {
console.log(type)
}

Expand All @@ -221,7 +221,7 @@ _What Input_ works in all modern browsers.

## Changelog

### v5.2.8
### v5.2.8 - 5.2.9

- **Added:** TypeScript definitions via @greypants

Expand Down
2 changes: 1 addition & 1 deletion dist/what-input.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* what-input - A global utility for tracking the current input method (mouse, keyboard or touch).
* @version v5.2.8
* @version v5.2.9
* @link https://github.com/ten1seven/what-input
* @license MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/what-input.min.js

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

Loading

0 comments on commit 09eb9b5

Please sign in to comment.