From 813d24afb91906d5afe6eb3abdc73b572d9735d9 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Sat, 15 Feb 2020 21:54:23 -0500 Subject: [PATCH] fix jsdoc caps --- src/004-base/facility.js | 2 +- src/art/artJS.js | 2 +- src/js/datatypeCleanupJS.js | 2 +- src/js/economyJS.js | 2 +- src/js/rulesAssistant.js | 8 ++++---- src/js/rulesAutosurgery.js | 2 +- src/js/slaveListing.js | 2 +- src/js/storyJS.js | 4 ++-- src/js/surgery.js | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/004-base/facility.js b/src/004-base/facility.js index 465475f9839..0b5246c0a78 100644 --- a/src/004-base/facility.js +++ b/src/004-base/facility.js @@ -271,7 +271,7 @@ App.Entity.Facilities.ManagingJob = class extends App.Entity.Facilities.Job { App.Entity.Facilities.Facility = class { /** * @param {App.Data.FacilityDesc} desc defines state variable for this facility - * @param {Object.<string, App.Entity.Facilities.Job>} [jobs] job object that are not default + * @param {object.<string, App.Entity.Facilities.Job>} [jobs] job object that are not default * @param {App.Entity.Facilities.ManagingJob} [manager] */ constructor(desc, jobs, manager) { diff --git a/src/art/artJS.js b/src/art/artJS.js index 23d58e2ed46..022fbeca7b9 100644 --- a/src/art/artJS.js +++ b/src/art/artJS.js @@ -1882,7 +1882,7 @@ window.skinColorCatcher = function(artSlave) { App.Art.cacheArtData = function() { /** * @param {NodeListOf<Element>} imagePassages - * @param {Object} obj + * @param {object} obj */ function cacheImages(imagePassages, obj) { obj.nodes = document.createDocumentFragment(); diff --git a/src/js/datatypeCleanupJS.js b/src/js/datatypeCleanupJS.js index cd6f66f96a9..60ef44a356f 100644 --- a/src/js/datatypeCleanupJS.js +++ b/src/js/datatypeCleanupJS.js @@ -2328,7 +2328,7 @@ App.Entity.Utils.RARuleDatatypeCleanup = function() { function settersSchemeCleanup(set) { /** * Moves properties of the given object, whose names start with prefix to the suboject newProp - * @param {Object} obj + * @param {object} obj * @param {string} prefix * @param {string} newProp */ diff --git a/src/js/economyJS.js b/src/js/economyJS.js index 136e4193bac..e3447ba573d 100644 --- a/src/js/economyJS.js +++ b/src/js/economyJS.js @@ -1886,7 +1886,7 @@ window.endWeekSlaveMarket = function() { /** * @param {App.Entity.SlaveState} s - * @param {Object|undefined} facility + * @param {object|undefined} facility * @returns {Object} */ window.getSlaveStatisticData = function(s, facility) { diff --git a/src/js/rulesAssistant.js b/src/js/rulesAssistant.js index a9197586e59..2e1a0a50039 100644 --- a/src/js/rulesAssistant.js +++ b/src/js/rulesAssistant.js @@ -1,6 +1,6 @@ /** * @param {App.Entity.SlaveState} slave - * @param {Object[]} rules + * @param {object[]} rules * @returns {boolean} */ window.hasSurgeryRule = function(slave, rules) { @@ -10,7 +10,7 @@ window.hasSurgeryRule = function(slave, rules) { /** * @param {App.Entity.SlaveState} slave - * @param {Object[]} rules + * @param {object[]} rules * @param {string} what * @returns {boolean} */ @@ -21,7 +21,7 @@ window.hasRuleFor = function(slave, rules, what) { /** * @param {App.Entity.SlaveState} slave - * @param {Object[]} rules + * @param {object[]} rules * @returns {boolean} */ window.hasHColorRule = function(slave, rules) { @@ -87,7 +87,7 @@ window.ruleApplied = function(slave, rule) { /** * remove slave from the facility described by the rule * @param {App.Entity.SlaveState} slave - * @param {Object} rule + * @param {object} rule * @returns {string} */ window.RAFacilityRemove = function RAFacilityRemove(slave, rule) { diff --git a/src/js/rulesAutosurgery.js b/src/js/rulesAutosurgery.js index a089d206b8e..fb9d7170fe6 100644 --- a/src/js/rulesAutosurgery.js +++ b/src/js/rulesAutosurgery.js @@ -458,7 +458,7 @@ window.rulesAutosurgery = (function() { /** * @param {App.Entity.SlaveState} slave - * @param {Object} thisSurgery + * @param {object} thisSurgery * @param {string[]} surgeries */ function PrintResult(slave, thisSurgery, surgeries) { diff --git a/src/js/slaveListing.js b/src/js/slaveListing.js index 4c9bd8e53b6..7c1186df79b 100644 --- a/src/js/slaveListing.js +++ b/src/js/slaveListing.js @@ -349,7 +349,7 @@ App.UI.SlaveList.render = function() { * @param {string} tagName * @param {string} [content] * @param {string|string[]} [classNames] - * @param {Object.<string, any>} [attributes] + * @param {object.<string, any>} [attributes] * @returns {HTMLElement} */ function makeElement(container, tagName, content, classNames, attributes) { diff --git a/src/js/storyJS.js b/src/js/storyJS.js index 0452e0e2bb5..cdc6800b864 100644 --- a/src/js/storyJS.js +++ b/src/js/storyJS.js @@ -345,7 +345,7 @@ window.lispReplace = function(text) { /** * @param {App.Entity.SlaveState} slave - * @param {Object} arcology + * @param {object} arcology * @returns {number} */ window.repGainSacrifice = function(slave, arcology) { @@ -439,7 +439,7 @@ window.nippleColor = function(slave) { /** * @param {App.Entity.SlaveState} slave - * @param {Object} PC + * @param {object} PC * @returns {number} */ window.overpowerCheck = function(slave, PC) { diff --git a/src/js/surgery.js b/src/js/surgery.js index 98b802e27ed..dd95e5408b3 100644 --- a/src/js/surgery.js +++ b/src/js/surgery.js @@ -118,7 +118,7 @@ App.Medicine.Surgery.ListHelpers = class { /** * @param {App.Entity.SlaveState} slave * @param {string} bodyPart - * @param {Object.<string, string>} keys + * @param {object.<string, string>} keys * @param {App.Utils.Pronouns} pronouns * @param {boolean} showCCs */ -- GitLab