mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 23:36:16 -04:00
Display preview of output in output tab headers.
Remove unused argument from setLogLevel()
This commit is contained in:
parent
ad982746dd
commit
be0e12589d
2 changed files with 44 additions and 10 deletions
|
@ -207,8 +207,6 @@ class WorkerWaiter {
|
|||
break;
|
||||
case "dishReturned":
|
||||
this.callbacks[r.data.id](r.data);
|
||||
this.dishWorker.terminate();
|
||||
this.dishWorker = null;
|
||||
break;
|
||||
case "silentBakeComplete":
|
||||
break;
|
||||
|
@ -623,10 +621,8 @@ class WorkerWaiter {
|
|||
|
||||
/**
|
||||
* Sets the console log level in the workers.
|
||||
*
|
||||
* @param {string} level
|
||||
*/
|
||||
setLogLevel(level) {
|
||||
setLogLevel() {
|
||||
for (let i = 0; i < this.chefWorkers.length; i++) {
|
||||
this.chefWorkers[i].worker.postMessage({
|
||||
action: "setLogLevel",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue