diff --git a/src/core/environment.js b/src/core/environment.js index 20c099925b..8887f006b9 100644 --- a/src/core/environment.js +++ b/src/core/environment.js @@ -424,6 +424,7 @@ p5.prototype.windowHeight = getWindowHeight(); * canvas or do any other adjustments to accommodate the new window size. * * @method windowResized + * @param {Object} [event] optional Event callback argument. * @example *
* function setup() { diff --git a/src/events/keyboard.js b/src/events/keyboard.js index 3258abb9e7..afea779688 100644 --- a/src/events/keyboard.js +++ b/src/events/keyboard.js @@ -122,6 +122,7 @@ p5.prototype.keyCode = 0; * behavior for this event, add "return false" to the end of the method. * * @method keyPressed + * @param {Object} [event] optional KeyboardEvent callback argument. * @example *
* @@ -194,6 +195,7 @@ p5.prototype._onkeydown = function(e) { * behavior for this event, add "return false" to the end of the method. * * @method keyReleased + * @param {Object} [event] optional KeyboardEvent callback argument. * @example *
* @@ -253,6 +255,7 @@ p5.prototype._onkeyup = function(e) { * to the end of the method. * * @method keyTyped + * @param {Object} [event] optional KeyboardEvent callback argument. * @example *
* diff --git a/src/utilities/conversion.js b/src/utilities/conversion.js index 89c68bcda9..b640b4bd53 100644 --- a/src/utilities/conversion.js +++ b/src/utilities/conversion.js @@ -66,6 +66,7 @@ p5.prototype.float = function(str) { /** * @method int * @param {Array} ns values to parse + * @param {Integer} [radix] * @return {Number[]} integer representation of values */ p5.prototype.int = function(n, radix = 10) {