Skip to content

Commit 7f57497

Browse files
authored
minor fixes
1 parent 19e74c1 commit 7f57497

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/events/keyboard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ function keyboard(p5, fn){
212212
* of the current keyboard layout (QWERTY, Dvorak, AZERTY, etc.) or the character
213213
* that appears in a text field.
214214
*
215-
* The code property returns a plain string (e.g. 'ArrowRight'), you can
215+
* The code property returns a plain string (e.g., 'ArrowRight'). You can
216216
* compare it directly with string literals:
217217
* ```js
218218
* if (code === 'ArrowRight') {

0 commit comments

Comments
 (0)