From b56bf2b0cb476ab4bce793561fc321bd87a57818 Mon Sep 17 00:00:00 2001 From: DCoded <dsoloha@live.com> Date: Tue, 21 May 2019 00:31:28 -0400 Subject: [PATCH] JSdoc fixes --- src/js/rulesAssistant.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/rulesAssistant.js b/src/js/rulesAssistant.js index b3afe04950d..d0460d7b5f2 100644 --- a/src/js/rulesAssistant.js +++ b/src/js/rulesAssistant.js @@ -93,6 +93,7 @@ window.ruleApplied = function(slave, rule) { * remove slave from the facility described by the rule * @param {App.Entity.SlaveState} slave * @param {Object} rule + * @returns {string} */ window.RAFacilityRemove = function RAFacilityRemove(slave, rule) { const V = State.variables; @@ -194,7 +195,7 @@ window.RAFacilityRemove = function RAFacilityRemove(slave, rule) { /** * return whether the rule applies to the slave - * @param {{function:boolean|string, data, specialSlaves, selectedSlaves, excludedSlaves, assignment}} cond + * @param {function} cond // I think * @param {App.Entity.SlaveState} slave * @returns {boolean} flag */ window.ruleAppliesP = function ruleAppliesP(cond, slave) { -- GitLab