From 0293d4d36e59643d19a7a5c4ebdf56958ae2b798 Mon Sep 17 00:00:00 2001
From: DCoded <dsoloha@live.com>
Date: Tue, 21 May 2019 00:32:47 -0400
Subject: [PATCH] Revert changes to utilJS.js

---
 src/js/utilJS.js | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/src/js/utilJS.js b/src/js/utilJS.js
index 98c4b95c9f1..ffce2d69b0d 100644
--- a/src/js/utilJS.js
+++ b/src/js/utilJS.js
@@ -544,11 +544,10 @@ window.Height = (function() {
 	/**
 	 * FIXME: JSdoc syntax error
 	 * Helper method - table lookup for nationality/race combinations
-	 * @param {object} table	// I think
+	 * @param {{ [table: string]: number; }} table
 	 * @param {string|Object} nationality
 	 * @param {string} race
 	 * @param {undefined} [def]
-	 * @returns {string}	//I think
 	 */
 	const nationalityMeanHeight = function(table, nationality, race, def) {
 		return table[`${nationality}.${race}`] || table[nationality] || table[`.${race}`] || table[""] || def;
@@ -787,8 +786,7 @@ window.Intelligence = (function() {
 	/**
 	 * FIXME: JSdoc syntax error
 	 * Configuration method for the above values
-	 * @param {object} [conf]
-	 * @returns {object}
+	 * @param {{ mean: number; limitMult: number[]; limitIntelligence: number[]; skew: number; spread: number; } | { limitMult: number[]; limitIntelligence: number[]; skew: number; spread: number; mean?: undefined; }} [conf]
 	 */
 	const _config = function(conf) {
 		if (_.isUndefined(conf)) {
@@ -1126,9 +1124,7 @@ window.cashFormat = function(s) {
  */
 window.repFormat = function(s) {
 	const V = State.variables;
-	/* if (!s) {
-		s = 0;
-	}*/
+	/* if (!s) { s = 0; }*/
 	if (V.cheatMode === 1 || V.debugMode === 1) {
 		if (s > 0) {
 			return `<span class="green">${num(Math.round(s * 100) / 100)} rep</span>`;
-- 
GitLab