From 671366ee62d8b381cb550865861858dd8ccd8edf Mon Sep 17 00:00:00 2001 From: n1073645 Date: Mon, 6 Jan 2020 10:03:29 +0000 Subject: [PATCH] Removed unnecessary variables --- src/core/lib/MagicObject.mjs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/core/lib/MagicObject.mjs b/src/core/lib/MagicObject.mjs index f4c8bbe5..6fa0feed 100644 --- a/src/core/lib/MagicObject.mjs +++ b/src/core/lib/MagicObject.mjs @@ -13,14 +13,10 @@ class potentialOps { constructor (prevOp) { if (typeof prevOp === "undefined") { this.inputRegexes = this.generateInputOpPatterns(); - this.hasInputRegexes = true; this.outputRegexes = this.generateOutputOpPatterns(); - this.hasOutputRegexes = true; } else { this.inputRegexes = prevOp.getInputRegexes(); - this.hasInputRegexes = true; this.outputRegexes = prevOp.getOutputRegexes(); - this.hasOutputRegexes = true; } } @@ -31,7 +27,6 @@ class potentialOps { */ setOutputRegexes (outputRegexes) { this.outputRegexes = [...outputRegexes]; - this.hasOutputRegexes = true; } /** @@ -41,7 +36,6 @@ class potentialOps { */ setInputRegexes (inputRegexes) { this.inputRegexes = [...inputRegexes]; - this.hasInputRegexes = true; } /**