From ad887d38abc48d16db74eb499be1055b847b9ccd Mon Sep 17 00:00:00 2001 From: Amante' Woodley Date: Fri, 1 Aug 2025 15:01:17 -0400 Subject: [PATCH 1/3] Replaced redudant else if statement with else statement Signed-off-by: Amante' Woodley Co-authored-by: Nia Perez Co-authored-by: Kayla Bobo Co-authored-by: Silas Morgan --- src/accessibility/outputs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/accessibility/outputs.js b/src/accessibility/outputs.js index d712c008bc..9781ffc839 100644 --- a/src/accessibility/outputs.js +++ b/src/accessibility/outputs.js @@ -492,7 +492,7 @@ p5.prototype._accsOutput = function(f, args) { if (!this.ingredients.shapes[f]) { this.ingredients.shapes[f] = [include]; //if other shapes of this type have been created - } else if (this.ingredients.shapes[f] !== [include]) { + } else{ //for every shape of this type for (let y in this.ingredients.shapes[f]) { //compare it with current shape and if it already exists make add false From 972b601e08332fe45b55509bda61d3c0982d7de8 Mon Sep 17 00:00:00 2001 From: Perminder Singh <127239756+perminder-17@users.noreply.github.com> Date: Sat, 2 Aug 2025 12:40:03 +0530 Subject: [PATCH 2/3] Update src/accessibility/outputs.js --- src/accessibility/outputs.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/accessibility/outputs.js b/src/accessibility/outputs.js index 9781ffc839..83b8f4ed91 100644 --- a/src/accessibility/outputs.js +++ b/src/accessibility/outputs.js @@ -492,7 +492,8 @@ p5.prototype._accsOutput = function(f, args) { if (!this.ingredients.shapes[f]) { this.ingredients.shapes[f] = [include]; //if other shapes of this type have been created - } else{ + } else { +`` //for every shape of this type for (let y in this.ingredients.shapes[f]) { //compare it with current shape and if it already exists make add false From ffc3f4fd1b161b8ed3df324f5561d8b2572bc40c Mon Sep 17 00:00:00 2001 From: Perminder Singh <127239756+perminder-17@users.noreply.github.com> Date: Sat, 2 Aug 2025 12:41:11 +0530 Subject: [PATCH 3/3] Update src/accessibility/outputs.js --- src/accessibility/outputs.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/accessibility/outputs.js b/src/accessibility/outputs.js index 83b8f4ed91..102d1d7186 100644 --- a/src/accessibility/outputs.js +++ b/src/accessibility/outputs.js @@ -493,7 +493,6 @@ p5.prototype._accsOutput = function(f, args) { this.ingredients.shapes[f] = [include]; //if other shapes of this type have been created } else { -`` //for every shape of this type for (let y in this.ingredients.shapes[f]) { //compare it with current shape and if it already exists make add false