Skip to content

Commit ac0b5ea

Browse files
author
Lauren McCarthy
committed
Merge pull request #1286 from toolness/yuidoc-typo-fixes
A few typo fixes to yuidocs.
2 parents b333544 + c0dfb5b commit ac0b5ea

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

lib/addons/p5.dom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@
849849
* @method createCapture
850850
* @param {String|Constant|Object} type type of capture, either VIDEO or
851851
* AUDIO if none specified, default both,
852-
* or a Constraints boject
852+
* or a Constraints object
853853
* @param {Function} callback function to be called once
854854
* stream has loaded
855855
* @return {Object/p5.Element} capture video p5.Element

src/core/2d_primitives.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -315,14 +315,14 @@ p5.prototype.point = function() {
315315
* clockwise or counter-clockwise around the defined shape.
316316
*
317317
* @method quad
318-
* @param {type} x1 the x-coordinate of the first point
319-
* @param {type} y1 the y-coordinate of the first point
320-
* @param {type} x2 the x-coordinate of the second point
321-
* @param {type} y2 the y-coordinate of the second point
322-
* @param {type} x3 the x-coordinate of the third point
323-
* @param {type} y3 the y-coordinate of the third point
324-
* @param {type} x4 the x-coordinate of the fourth point
325-
* @param {type} y4 the y-coordinate of the fourth point
318+
* @param {Number} x1 the x-coordinate of the first point
319+
* @param {Number} y1 the y-coordinate of the first point
320+
* @param {Number} x2 the x-coordinate of the second point
321+
* @param {Number} y2 the y-coordinate of the second point
322+
* @param {Number} x3 the x-coordinate of the third point
323+
* @param {Number} y3 the y-coordinate of the third point
324+
* @param {Number} x4 the x-coordinate of the fourth point
325+
* @param {Number} y4 the y-coordinate of the fourth point
326326
* @return {p5} the p5 object
327327
* @example
328328
* <div>

src/io/files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@ function escapeHelper(content) {
12121212
* @method saveTable
12131213
* @param {p5.Table} Table the Table object to save to a file
12141214
* @param {String} filename the filename to which the Table should be saved
1215-
* @param {[String]} options can be one of "tsv", "csv", or "html"
1215+
* @param {String} [options] can be one of "tsv", "csv", or "html"
12161216
* @example
12171217
* <div><code>
12181218
* var table;

src/utilities/array_functions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ p5.prototype.append = function(array, value) {
5454
* @param {Number} [srcPosition] starting position in the source Array
5555
* @param {Array} dst the destination Array
5656
* @param {Number} [dstPosition] starting position in the destination Array
57-
* @param {Nimber} [length] number of Array elements to be copied
57+
* @param {Number} [length] number of Array elements to be copied
5858
*
5959
* @example
6060
* <div class="norender"><code>

0 commit comments

Comments
 (0)