Skip to content

Commit 230c262

Browse files
committed
Fix typo in createFileInput example
1 parent 53c9cf8 commit 230c262

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dom/dom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1932,7 +1932,7 @@ function dom(p5, fn){
19321932
* let y = i * 20;
19331933
*
19341934
* // Draw the image.
1935-
* image(img, 0, y, 100, 100);
1935+
* image(images[i], 0, y, 100, 100);
19361936
* }
19371937
*
19381938
* describe('A gray square with a file input beneath it. If the user selects multiple image files to load, they are displayed on the square.');

0 commit comments

Comments
 (0)