Skip to content

Commit ef0ad6e

Browse files
author
Lauren McCarthy
committed
adding link to wiki page closes #1333
1 parent ad57997 commit ef0ad6e

File tree

5 files changed

+10
-3
lines changed

5 files changed

+10
-3
lines changed

lib/addons/p5.dom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! p5.dom.js v0.2.9 March 3, 2016 */
1+
/*! p5.dom.js v0.2.10 April 25, 2016 */
22
/**
33
* <p>The web is much more than just canvas and p5.dom makes it easy to interact
44
* with other HTML5 objects, including text, hyperlink, image, input, video,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"docs": "grunt yui",
1111
"test": "grunt"
1212
},
13-
"version": "0.4.23",
13+
"version": "0.4.24",
1414
"devDependencies": {
1515
"amdclean": "~0.3.3",
1616
"browserify": "^11.0.1",

src/core/p5.Element.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ p5.Element = function(elt, pInst) {
3838
* Attaches the element to the parent specified. A way of setting
3939
* the container for the element. Accepts either a string ID, DOM
4040
* node, or p5.Element. If no arguments given, parent node is returned.
41+
* For more ways to position the canvas, see the
42+
* <a href='https://github.com/processing/p5.js/wiki/Positioning-your-canvas'>
43+
* positioning the canvas</a> wiki page.
4144
*
4245
* @method parent
4346
* @param {String|Object} parent the ID, DOM node, or p5.Element

src/core/rendering.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ var defaultId = 'defaultCanvas0'; // this gets set again in createCanvas
2121
* The system variables width and height are set by the parameters passed
2222
* to this function. If createCanvas() is not used, the window will be
2323
* given a default size of 100x100 pixels.
24+
* <br><br>
25+
* For more ways to position the canvas, see the
26+
* <a href='https://github.com/processing/p5.js/wiki/Positioning-your-canvas'>
27+
* positioning the canvas</a> wiki page.
2428
*
2529
* @method createCanvas
2630
* @param {Number} w width of the canvas

src/core/vertex.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ p5.prototype.endContour = function() {
390390
vert.moveTo = false;
391391
contourVertices.push(vert);
392392

393-
// prevent stay lines with multiple contours
393+
// prevent stray lines with multiple contours
394394
if (isFirstContour) {
395395
vertices.push(vertices[0]);
396396
isFirstContour = false;

0 commit comments

Comments
 (0)