mirror of
https://github.com/gchq/CyberChef
synced 2025-12-23 03:33:24 +00:00
Fix whitespace and comment typos.
Add comment to inputworker default values.
This commit is contained in:
@@ -176,7 +176,7 @@ class OutputWaiter {
|
||||
|
||||
/**
|
||||
* Updates the error value for the output in the output array.
|
||||
* If this is the active output tab, calls app.handleError.
|
||||
* If this is the active output tab, calls app.handleError.
|
||||
* Otherwise, the error will be handled when the output is switched to
|
||||
*
|
||||
* @param {Error} error
|
||||
@@ -470,7 +470,7 @@ class OutputWaiter {
|
||||
*/
|
||||
async getDishTitle(dish, maxLength) {
|
||||
return await new Promise(resolve => {
|
||||
this.manager.worker.getDishTitle(dish, maxLength, r=> {
|
||||
this.manager.worker.getDishTitle(dish, maxLength, r => {
|
||||
resolve(r.value);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user