From 58ebffe8eaecfc33639226e40b3864ff12203f26 Mon Sep 17 00:00:00 2001
From: Skriv <skrivelese@gmail.com>
Date: Thu, 21 Mar 2019 22:33:04 +0100
Subject: [PATCH] cleaning

---
 src/endWeek/saPorn.js | 75 +++++++++++++++++++++----------------------
 1 file changed, 37 insertions(+), 38 deletions(-)

diff --git a/src/endWeek/saPorn.js b/src/endWeek/saPorn.js
index 4e24b16a148..2804472deb4 100644
--- a/src/endWeek/saPorn.js
+++ b/src/endWeek/saPorn.js
@@ -1,112 +1,111 @@
 /* to later be rolled into saPorn */
 
-window.getHighestPorn = /** @param {App.Entity.SlaveState} slave */ function (slave) {
+window.getHighestPorn = /** @param {App.Entity.SlaveState} slave */ function(slave) {
+	let max = {value: 0, type: "none"};
 
-	var max = {value: 0, type: "none"};
-
-	if(slave.pornTypeGeneral > max.value){
+	if (slave.pornTypeGeneral > max.value) {
 		max = {value: slave.pornTypeGeneral, type: "generic"};
 	}
-	if(slave.pornTypeFuckdoll > max.value){
+	if (slave.pornTypeFuckdoll > max.value) {
 		max = {value: slave.pornTypeFuckdoll, type: "fuckdoll"};
 	}
-	if(slave.pornTypeRape > max.value){
+	if (slave.pornTypeRape > max.value) {
 		max = {value: slave.pornTypeRape, type: "rape"};
 	}
-	if(slave.pornTypePreggo > max.value){
+	if (slave.pornTypePreggo > max.value) {
 		max = {value: slave.pornTypePreggo, type: "preggo"};
 	}
-	if(slave.pornTypeBBW > max.value){
+	if (slave.pornTypeBBW > max.value) {
 		max = {value: slave.pornTypeBBW, type: "BBW"};
 	}
-	if(slave.pornTypeGainer > max.value){
+	if (slave.pornTypeGainer > max.value) {
 		max = {value: slave.pornTypeGainer, type: "weight gain"};
 	}
-	if(slave.pornTypeStud > max.value){
+	if (slave.pornTypeStud > max.value) {
 		max = {value: slave.pornTypeStud, type: "big dick"};
 	}
-	if(slave.pornTypeLoli > max.value){
+	if (slave.pornTypeLoli > max.value) {
 		max = {value: slave.pornTypeLoli, type: "underage"};
 	}
-	if(slave.pornTypeDeepThroat > max.value){
+	if (slave.pornTypeDeepThroat > max.value) {
 		max = {value: slave.pornTypeDeepThroat, type: "deepthroat"};
 	}
-	if(slave.pornTypeStruggleFuck > max.value){
+	if (slave.pornTypeStruggleFuck > max.value) {
 		max = {value: slave.pornTypeStruggleFuck, type: "unwilling"};
 	}
-	if(slave.pornTypePainal > max.value){
+	if (slave.pornTypePainal > max.value) {
 		max = {value: slave.pornTypePainal, type: "hardcore anal"};
 	}
-	if(slave.pornTypeTease > max.value){
+	if (slave.pornTypeTease > max.value) {
 		max = {value: slave.pornTypeTease, type: "softcore"};
 	}
-	if(slave.pornTypeRomantic > max.value){
+	if (slave.pornTypeRomantic > max.value) {
 		max = {value: slave.pornTypeRomantic, type: "romantic"};
 	}
-	if(slave.pornTypePervert > max.value){
+	if (slave.pornTypePervert > max.value) {
 		max = {value: slave.pornTypePervert, type: "really perverted"};
 	}
-	if(slave.pornTypeCaring > max.value){
+	if (slave.pornTypeCaring > max.value) {
 		max = {value: slave.pornTypeCaring, type: "voyeur"};
 	}
-	if(slave.pornTypeUnflinching > max.value){
+	if (slave.pornTypeUnflinching > max.value) {
 		max = {value: slave.pornTypeUnflinching, type: "unspeakable"};
 	}
-	if(slave.pornTypeSizeQueen > max.value){
+	if (slave.pornTypeSizeQueen > max.value) {
 		max = {value: slave.pornTypeSizeQueen, type: "huge insertion"};
 	}
-	if(slave.pornTypeNeglectful > max.value){
+	if (slave.pornTypeNeglectful > max.value) {
 		max = {value: slave.pornTypeNeglectful, type: "orgasm denial"};
 	}
-	if(slave.pornTypeCumAddict > max.value){
+	if (slave.pornTypeCumAddict > max.value) {
 		max = {value: slave.pornTypeCumAddict, type: "cum addiction"};
 	}
-	if(slave.pornTypeAnalAddict > max.value){
+	if (slave.pornTypeAnalAddict > max.value) {
 		max = {value: slave.pornTypeAnalAddict, type: "anal addiction"};
 	}
-	if(slave.pornTypeAttentionWhore > max.value){
+	if (slave.pornTypeAttentionWhore > max.value) {
 		max = {value: slave.pornTypeAttentionWhore, type: "exhibition"};
 	}
-	if(slave.pornTypeBreastGrowth > max.value){
+	if (slave.pornTypeBreastGrowth > max.value) {
 		max = {value: slave.pornTypeBreastGrowth, type: "breast expansion"};
 	}
-	if(slave.pornTypeAbusive > max.value){
+	if (slave.pornTypeAbusive > max.value) {
 		max = {value: slave.pornTypeAbusive, type: "abuse"};
 	}
-	if(slave.pornTypeMalicious > max.value){
+	if (slave.pornTypeMalicious > max.value) {
 		max = {value: slave.pornTypeMalicious, type: "sexual torture"};
 	}
-	if(slave.pornTypeSelfHating > max.value){
+	if (slave.pornTypeSelfHating > max.value) {
 		max = {value: slave.pornTypeSelfHating, type: "self hating"};
 	}
-	if(slave.pornTypeBreeder > max.value){
+	if (slave.pornTypeBreeder > max.value) {
 		max = {value: slave.pornTypeBreeder, type: "breeder"};
 	}
-	if(slave.pornTypeSub > max.value){
+	if (slave.pornTypeSub > max.value) {
 		max = {value: slave.pornTypeSub, type: "submissive"};
 	}
-	if(slave.pornTypeCumSlut > max.value){
+	if (slave.pornTypeCumSlut > max.value) {
 		max = {value: slave.pornTypeCumSlut, type: "cum"};
 	}
-	if(slave.pornTypeAnal > max.value){
+	if (slave.pornTypeAnal > max.value) {
 		max = {value: slave.pornTypeAnal, type: "buttslut"};
 	}
-	if(slave.pornTypeHumiliation > max.value){
+	if (slave.pornTypeHumiliation > max.value) {
 		max = {value: slave.pornTypeHumiliation, type: "humiliating"};
 	}
-	if(slave.pornTypeBoobs > max.value){
+	if (slave.pornTypeBoobs > max.value) {
 		max = {value: slave.pornTypeBoobs, type: "breast"};
 	}
-	if(slave.pornTypeDom > max.value){
+	if (slave.pornTypeDom > max.value) {
 		max = {value: slave.pornTypeDom, type: "dominant"};
 	}
-	if(slave.pornTypeSadist > max.value){
+	if (slave.pornTypeSadist > max.value) {
 		max = {value: slave.pornTypeSadist, type: "sadistic"};
 	}
-	if(slave.pornTypeMasochist > max.value){
+	if (slave.pornTypeMasochist > max.value) {
 		max = {value: slave.pornTypeMasochist, type: "masochistic"};
 	}
-	if(slave.pornTypePregnancy > max.value){
+	if (slave.pornTypePregnancy > max.value) {
 		max = {value: slave.pornTypePregnancy, type: "pregnancy fetish"};
 	}
 
-- 
GitLab