diff --git a/src/events/keyboard.js b/src/events/keyboard.js index a29862e265..afea779688 100644 --- a/src/events/keyboard.js +++ b/src/events/keyboard.js @@ -123,7 +123,6 @@ p5.prototype.keyCode = 0; * * @method keyPressed * @param {Object} [event] optional KeyboardEvent callback argument. - * @return {*} false if any default behavior should be prevented for this event. (Optional) * @example *
* @@ -197,7 +196,6 @@ p5.prototype._onkeydown = function(e) { * * @method keyReleased * @param {Object} [event] optional KeyboardEvent callback argument. - * @return {*} false if any default behavior should be prevented for this event. (Optional) * @example *
* @@ -258,7 +256,6 @@ p5.prototype._onkeyup = function(e) { * * @method keyTyped * @param {Object} [event] optional KeyboardEvent callback argument. - * @return {*} false if any default behavior should be prevented for this event. (Optional) * @example *
* diff --git a/src/events/mouse.js b/src/events/mouse.js index be2dc252c7..184d332208 100644 --- a/src/events/mouse.js +++ b/src/events/mouse.js @@ -487,7 +487,6 @@ p5.prototype._setMouseButton = function(e) { * * @method mouseMoved * @param {Object} [event] optional MouseEvent callback argument. - * @return {*} false if any default behavior should be prevented for this event. (Optional) * @example *
* @@ -543,7 +542,6 @@ p5.prototype._setMouseButton = function(e) { * * @method mouseDragged * @param {Object} [event] optional MouseEvent callback argument. - * @return {*} false if any default behavior should be prevented for this event. (Optional) * @example *
* @@ -626,7 +624,6 @@ p5.prototype._onmousemove = function(e) { * * @method mousePressed * @param {Object} [event] optional MouseEvent callback argument. - * @return {*} false if any default behavior should be prevented for this event. (Optional) * @example *
* @@ -706,7 +703,6 @@ p5.prototype._onmousedown = function(e) { * * @method mouseReleased * @param {Object} [event] optional MouseEvent callback argument. - * @return {*} false if any default behavior should be prevented for this event. (Optional) * @example *
* @@ -785,7 +781,6 @@ p5.prototype._ondragover = p5.prototype._onmousemove; * * @method mouseClicked * @param {Object} [event] optional MouseEvent callback argument. - * @return {*} false if any default behavior should be prevented for this event. (Optional) * @example *
* @@ -854,7 +849,6 @@ p5.prototype._onclick = function(e) { * * @method doubleClicked * @param {Object} [event] optional MouseEvent callback argument. - * @return {*} false if any default behavior should be prevented for this event. (Optional) * @example *
* @@ -945,7 +939,6 @@ p5.prototype._pmouseWheelDeltaY = 0; * * @method mouseWheel * @param {Object} [event] optional WheelEvent callback argument. - * @return {*} false if any default behavior should be prevented for this event. (Optional) * @example *
* diff --git a/src/events/touch.js b/src/events/touch.js index f795fbd6fb..96be3492fe 100644 --- a/src/events/touch.js +++ b/src/events/touch.js @@ -78,7 +78,6 @@ function getTouchInfo(canvas, w, h, e, i = 0) { * * @method touchStarted * @param {Object} [event] optional TouchEvent callback argument. - * @return {*} false if any default behavior should be prevented for this event. (Optional) * @example *
* @@ -159,7 +158,6 @@ p5.prototype._ontouchstart = function(e) { * * @method touchMoved * @param {Object} [event] optional TouchEvent callback argument. - * @return {*} false if any default behavior should be prevented for this event. (Optional) * @example *
* @@ -232,7 +230,6 @@ p5.prototype._ontouchmove = function(e) { * * @method touchEnded * @param {Object} [event] optional TouchEvent callback argument. - * @return {*} false if any default behavior should be prevented for this event. (Optional) * @example *
*