mirror of
https://github.com/gchq/CyberChef.git
synced 2025-07-04 03:42:23 -04:00
cleaned up after lint and tests
This commit is contained in:
parent
547f1fc426
commit
6e821fe166
3 changed files with 8 additions and 9 deletions
|
@ -398,9 +398,8 @@ class HighlighterWaiter {
|
||||||
|
|
||||||
if (direction === "forward") {
|
if (direction === "forward") {
|
||||||
this.highlightInput(pos);
|
this.highlightInput(pos);
|
||||||
}
|
} else {
|
||||||
else{
|
this.manager.input.updateInputHighlight(inputNum, pos);
|
||||||
this.manager.input.updateInputHighlight(inputNum, pos)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -454,7 +454,7 @@ self.setInput = function(inputData) {
|
||||||
if (input === undefined || input === null) return;
|
if (input === undefined || input === null) return;
|
||||||
|
|
||||||
let inputVal = input.data;
|
let inputVal = input.data;
|
||||||
let highlight = input.highlight;
|
const highlight = input.highlight;
|
||||||
const inputObj = {
|
const inputObj = {
|
||||||
inputNum: inputNum,
|
inputNum: inputNum,
|
||||||
input: inputVal,
|
input: inputVal,
|
||||||
|
@ -597,7 +597,7 @@ self.updateInputHighlight = function(inputData) {
|
||||||
|
|
||||||
if (inputNum < 1) return;
|
if (inputNum < 1) return;
|
||||||
self.inputs[inputNum].highlight = pos;
|
self.inputs[inputNum].highlight = pos;
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Update the stored data object for an input.
|
* Update the stored data object for an input.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue