diff --git a/src/accessibility/outputs.js b/src/accessibility/outputs.js index 38ba679e38..ef913739fb 100644 --- a/src/accessibility/outputs.js +++ b/src/accessibility/outputs.js @@ -82,6 +82,10 @@ import p5 from '../core/main'; * *
+ * function setup() {
+ * createCanvas(100, 100);
+ * }
+ *
* function draw() {
* // Add the text description.
* textOutput();
@@ -102,6 +106,10 @@ import p5 from '../core/main';
*
*
*
+ * function setup() {
+ * createCanvas(100, 100);
+ * }
+ *
* function draw() {
* // Add the text description and
* // display it for debugging.
@@ -217,6 +225,10 @@ p5.prototype.textOutput = function(display) {
*
*
*
+ * function setup() {
+ * createCanvas(100, 100);
+ * }
+ *
* function draw() {
* // Add the grid description.
* gridOutput();
@@ -237,6 +249,10 @@ p5.prototype.textOutput = function(display) {
*
*
*
+ * function setup() {
+ * createCanvas(100, 100);
+ * }
+ *
* function draw() {
* // Add the grid description and
* // display it for debugging.