fix various typos and grammar errors in comments (#834)

This commit is contained in:
Hrvoje Šimić 2016-10-10 12:26:47 +02:00 committed by Timothy
parent 4d8cf7ba9a
commit 7e71bf356b
13 changed files with 40 additions and 33 deletions

View file

@ -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) {