From 580b0007fedfccf1f147452a74abd14cbecb501a Mon Sep 17 00:00:00 2001 From: DCoded <dcoded@live.com> Date: Mon, 18 Mar 2019 18:52:11 -0400 Subject: [PATCH] More fixes --- src/js/DefaultRules.js | 2 +- src/js/accordianJS.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/DefaultRules.js b/src/js/DefaultRules.js index d134d5349a4..80b7126cce4 100644 --- a/src/js/DefaultRules.js +++ b/src/js/DefaultRules.js @@ -1,3 +1,4 @@ +/* eslint-disable no-empty */ /* eslint-disable no-undef */ // this code applies RA rules onto slaves @@ -1620,7 +1621,6 @@ window.DefaultRules = (function() { slave.cumSource = 0; SetBellySize(slave); } else if ((rule.inflationType === "curative" && slave.health > 90) || (rule.inflationType === "tightener" && slave.anus <= 1 && slave.vagina <= 1)) { - /** FIXME: Empty block statement.eslint(no-empty) */ } else { r += `<br>${slave.slaveName}'s current enema regimen has been set to ${rule.inflationType}.`; slave.inflation = 1; diff --git a/src/js/accordianJS.js b/src/js/accordianJS.js index a0d03de5a5b..cce8bdfbaaa 100644 --- a/src/js/accordianJS.js +++ b/src/js/accordianJS.js @@ -15,7 +15,7 @@ * 000-250-006 03092017 */ -postdisplay["doAccordionSet"] = function (content) { /** FIXME: ['doAccordionSet'] is better written in dot notation. (W069)jshint(W069) */ +postdisplay["doAccordionSet"] = function (content) { if (variables().useAccordion === 1) { Array.prototype.slice.call(document.querySelectorAll('.macro-include')) .forEach(function (element) { @@ -24,7 +24,7 @@ postdisplay["doAccordionSet"] = function (content) { /** FIXME: ['doAccordionSet } }; -postdisplay["doAccordion"] = function (content) { /** FIXME: ['doAccordion'] is better written in dot notation. (W069)jshint(W069) */ +postdisplay["doAccordion"] = function (content) { var acc = document.getElementsByClassName("accordion"); var i; -- GitLab