Skip to content

Commit b725a6c

Browse files
authored
Merge pull request #5500 from Zearin/docs-its
docs: Fix typos (its/it’s)
2 parents 0a3f23b + 5e0dede commit b725a6c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/color/creating_reading.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ p5.prototype.blue = function(c) {
105105
* </div>
106106
*
107107
* @alt
108-
* Left half of canvas salmon pink and the right half with it's brightness colored white.
109-
* Left half of canvas olive colored and the right half with it's brightness color gray.
108+
* Left half of canvas salmon pink and the right half with its brightness colored white.
109+
* Left half of canvas olive colored and the right half with its brightness color gray.
110110
*/
111111
p5.prototype.brightness = function(c) {
112112
p5._validateParameters('brightness', arguments);

src/dom/dom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ p5.prototype.removeElements = function(e) {
261261
* </code></div>
262262
*
263263
* @alt
264-
* dropdown: pear, kiwi, grape. When selected text "its a" + selection shown.
264+
* dropdown: pear, kiwi, grape. When selected text "it's a" + selection shown.
265265
*/
266266
p5.Element.prototype.changed = function(fxn) {
267267
p5.Element._adjustListener('change', fxn, this);

src/webgl/p5.Camera.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ import p5 from '../core/main';
103103
* @alt
104104
* White square repeatedly grows to fill canvas and then shrinks.
105105
* An interactive example of a red cube with 3 sliders for moving it across x, y,
106-
* z axis and 3 sliders for shifting it's center.
106+
* z axis and 3 sliders for shifting its center.
107107
*/
108108
p5.prototype.camera = function(...args) {
109109
this._assert3d('camera');
@@ -1302,7 +1302,7 @@ p5.Camera.prototype.lookAt = function(x, y, z) {
13021302
* </div>
13031303
* @alt
13041304
* An interactive example of a red cube with 3 sliders for moving it across x, y,
1305-
* z axis and 3 sliders for shifting it's center.
1305+
* z axis and 3 sliders for shifting its center.
13061306
*/
13071307
p5.Camera.prototype.camera = function(
13081308
eyeX,

0 commit comments

Comments
 (0)