fix various typos and grammar errors in comments (#834)
This commit is contained in:
parent
4d8cf7ba9a
commit
7e71bf356b
13 changed files with 40 additions and 33 deletions
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* Keyboard event keyCodes have proven to be really unreliable.
|
||||
* This util function will cover most of the edge cases where
|
||||
* String.fromCharCode() will not work
|
||||
* String.fromCharCode() doesn't work.
|
||||
*/
|
||||
|
||||
const _toAscii = {
|
||||
|
|
@ -54,7 +54,7 @@ const _arrowKeys = {
|
|||
/**
|
||||
* This fn takes a keyboard event and returns
|
||||
* the character that was pressed. This fn
|
||||
* purposely doens't take into account if the alt/meta
|
||||
* purposely doesn't take into account if the alt/meta
|
||||
* key was pressed.
|
||||
*/
|
||||
export default function fromCharCode(e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue