Skip to content

Commit 61464fb

Browse files
authored
Merge pull request #8527 from kajal-jotwani/docs-fix-typo
Fix typo in createCanvas() reference example
2 parents da4b5b9 + 888a12d commit 61464fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/rendering.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const defaultClass = 'p5Canvas';
100100
* <div>
101101
* <code>
102102
* function setup() {
103-
* // Create a p5.Render object.
103+
* // Create a p5.Renderer object.
104104
* let cnv = createCanvas(50, 50);
105105
*
106106
* // Position the canvas.

0 commit comments

Comments
 (0)