From 610f18b5386cca0b003d1b1d37dbe3bb58b869ec Mon Sep 17 00:00:00 2001
From: DCoded <dsoloha@live.com>
Date: Sat, 4 May 2019 00:41:57 -0400
Subject: [PATCH] Comment formatting and minor changes

---
 src/art/vector/VectorArtJS.js | 26 ++++++++++++--------------
 1 file changed, 12 insertions(+), 14 deletions(-)

diff --git a/src/art/vector/VectorArtJS.js b/src/art/vector/VectorArtJS.js
index ab67e1f99fb..ec4ad98a80e 100644
--- a/src/art/vector/VectorArtJS.js
+++ b/src/art/vector/VectorArtJS.js
@@ -54,15 +54,13 @@ window.VectorArt = (function() {
 		if (slave.scrotum > 0 && slave.balls > 0) {
 			ArtVectorBalls();
 		}
-		if (penisDrawtime === 0) {
-			/* for dicks behind boobs */
+		if (penisDrawtime === 0) { /* for dicks behind boobs */
 			r += penisArtString;
 		}
 
 		ArtVectorBelly(); /* includes navel piercing and belly-related clothing options */
 		ArtVectorBoob(); /* includes areolae and piercings */
-		if (penisDrawtime === 1) {
-			/* for dicks in front of boobs */
+		if (penisDrawtime === 1) { /* for dicks in front of boobs */
 			r += penisArtString;
 		}
 
@@ -307,9 +305,9 @@ window.VectorArt = (function() {
 				case "a penitent nuns habit":
 					if ((canAchieveErection(slave)) && (slave.chastityPenis !== 1)) {
 						penisArtString = jsInclude(`Art_Vector_Bulge_Outfit_Hard_${penisSize}`);
-						break; /* IN CASE OF NO ERECTION, SKIP TO A NORMAL BULGE */
+						break; /* IN CASE OF NO ERECTION, SKIP TO A NORMAL BULGE */	// FIXME: having a break in an if is bad code
 					}
-					/* BULGE OUTFITS LONG OUTFITS */
+				/* BULGE OUTFITS LONG OUTFITS */
 				// eslint-disable-next-line no-fallthrough
 				case "a cheerleader outfit":
 				case "battlearmor":
@@ -344,7 +342,7 @@ window.VectorArt = (function() {
 				case "stretch pants and a crop-top":
 					penisArtString = jsInclude(`Art_Vector_Bulge_Outfit_${penisSize}`);
 					break;
-					/* SMALL BULGE ONLY (SHORT) OUTFITS */
+				/* SMALL BULGE ONLY (SHORT) OUTFITS */
 				case "boyshorts":
 				case "a button-up shirt and panties":
 				case "kitty lingerie":
@@ -370,12 +368,12 @@ window.VectorArt = (function() {
 						}
 					}
 					break;
-					/* NO BULGE, EVERYTHING HIDDEN */
+				/* NO BULGE, EVERYTHING HIDDEN */
 				case "a dirndl":
 				case "a gothic lolita dress":
 				case "a hanbok":
 					break;
-					/* full frontal */
+				/* full frontal */
 				default:
 					if ((canAchieveErection(slave)) && (slave.chastityPenis !== 1)) {
 						penisDrawtime = 1; /* draw erect penis over boobs if boobs do not hide the penis' base */
@@ -447,7 +445,7 @@ window.VectorArt = (function() {
 				case "stretch pants and a crop-top":
 					penisArtString = jsInclude(`Art_Vector_Bulge_Outfit_${penisSize}`);
 					break;
-					/* BULGE OUTFITS SHORT OUTFITS */
+				/* BULGE OUTFITS SHORT OUTFITS */
 				case "a bunny outfit":
 				case "a button-up shirt and panties":
 				case "a chattel habit":
@@ -489,13 +487,13 @@ window.VectorArt = (function() {
 						}
 					}
 					break;
-					/* hide everything */
+				/* hide everything */
 				case "a cheerleader outfit":
 				case "a gothic lolita dress":
 				case "a hanbok":
 				case "a schoolgirl outfit":
 					break;
-					/* full frontal */
+				/* full frontal */
 				default:
 					if ((canAchieveErection(slave)) && (slave.chastityPenis !== 1)) {
 						penisDrawtime = 1; /* draw erect penis over boobs if boobs do not hide the penis' base */
@@ -745,7 +743,7 @@ window.VectorArt = (function() {
 					r += jsInclude(`Art_Vector_Arm_Outfit_${clothing2artSuffix(slave.clothes)}_Right_${rightArmType}`);
 					r += jsInclude(`Art_Vector_Arm_Outfit_${clothing2artSuffix(slave.clothes)}_Left_${leftArmType}`);
 					break;
-					/* manually handle special cases */
+				/* manually handle special cases */
 				case "a schutzstaffel uniform":
 				case "a slutty schutzstaffel uniform":
 					r += jsInclude(`Art_Vector_Arm_Outfit_SchutzstaffelUniform_Right_${rightArmType}`);
@@ -1272,7 +1270,7 @@ window.VectorArt = (function() {
 			T.bellybuttonStyle = colorSlave.areolaColor;
 			T.labiaStyle = colorSlave.labiaColor;
 			T.skinColour = colorSlave.skinColor;
-			/* todo: introduce fleshStyle */
+			/* TODO: introduce fleshStyle */
 			/* these need to be declared so they can be set conditionally */
 			T.headSkinStyle = undefined;
 			T.torsoSkinStyle = undefined;
-- 
GitLab