mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-14 10:06:58 -04:00
Removed unnecessary variables
This commit is contained in:
parent
208e9d98e1
commit
671366ee62
1 changed files with 0 additions and 6 deletions
|
@ -13,14 +13,10 @@ class potentialOps {
|
||||||
constructor (prevOp) {
|
constructor (prevOp) {
|
||||||
if (typeof prevOp === "undefined") {
|
if (typeof prevOp === "undefined") {
|
||||||
this.inputRegexes = this.generateInputOpPatterns();
|
this.inputRegexes = this.generateInputOpPatterns();
|
||||||
this.hasInputRegexes = true;
|
|
||||||
this.outputRegexes = this.generateOutputOpPatterns();
|
this.outputRegexes = this.generateOutputOpPatterns();
|
||||||
this.hasOutputRegexes = true;
|
|
||||||
} else {
|
} else {
|
||||||
this.inputRegexes = prevOp.getInputRegexes();
|
this.inputRegexes = prevOp.getInputRegexes();
|
||||||
this.hasInputRegexes = true;
|
|
||||||
this.outputRegexes = prevOp.getOutputRegexes();
|
this.outputRegexes = prevOp.getOutputRegexes();
|
||||||
this.hasOutputRegexes = true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -31,7 +27,6 @@ class potentialOps {
|
||||||
*/
|
*/
|
||||||
setOutputRegexes (outputRegexes) {
|
setOutputRegexes (outputRegexes) {
|
||||||
this.outputRegexes = [...outputRegexes];
|
this.outputRegexes = [...outputRegexes];
|
||||||
this.hasOutputRegexes = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -41,7 +36,6 @@ class potentialOps {
|
||||||
*/
|
*/
|
||||||
setInputRegexes (inputRegexes) {
|
setInputRegexes (inputRegexes) {
|
||||||
this.inputRegexes = [...inputRegexes];
|
this.inputRegexes = [...inputRegexes];
|
||||||
this.hasInputRegexes = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue