mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 07:16:17 -04:00
Fix whitespace and comment typos.
Add comment to inputworker default values.
This commit is contained in:
parent
2d95092479
commit
455b42aa85
3 changed files with 7 additions and 4 deletions
|
@ -275,7 +275,7 @@ class WorkerWaiter {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Updates the UI to show if baking is in process or not.
|
* Updates the UI to show if baking is in progress or not.
|
||||||
*
|
*
|
||||||
* @param {boolean} bakingStatus
|
* @param {boolean} bakingStatus
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -10,8 +10,11 @@
|
||||||
import Utils from "../../core/Utils";
|
import Utils from "../../core/Utils";
|
||||||
import {detectFileType} from "../../core/lib/FileType";
|
import {detectFileType} from "../../core/lib/FileType";
|
||||||
|
|
||||||
|
// Default max values
|
||||||
|
// These will be correctly calculated automatically
|
||||||
self.maxWorkers = 4;
|
self.maxWorkers = 4;
|
||||||
self.maxTabs = 1;
|
self.maxTabs = 1;
|
||||||
|
|
||||||
self.pendingFiles = [];
|
self.pendingFiles = [];
|
||||||
self.inputs = {};
|
self.inputs = {};
|
||||||
self.loaderWorkers = [];
|
self.loaderWorkers = [];
|
||||||
|
@ -250,7 +253,7 @@ self.getInputValue = function(inputNum) {
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the stored value or oobject for a specific inputNum and sends it to the inputWaiter.
|
* Gets the stored value or object for a specific inputNum and sends it to the inputWaiter.
|
||||||
*
|
*
|
||||||
* @param {object} inputData - Object containing data about the input to retrieve
|
* @param {object} inputData - Object containing data about the input to retrieve
|
||||||
* @param {number} inputData.inputNum - The inputNum of the input to get
|
* @param {number} inputData.inputNum - The inputNum of the input to get
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue