mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -04:00
Correct documentation
This commit is contained in:
parent
86c37bab3f
commit
ba4740a245
1 changed files with 3 additions and 3 deletions
|
@ -49,8 +49,8 @@ self.postMessage({
|
||||||
* options: {Object},
|
* options: {Object},
|
||||||
* progress: {number},
|
* progress: {number},
|
||||||
* step: {boolean},
|
* step: {boolean},
|
||||||
* inputNum: {number} | undefined
|
* [inputNum=-1]: {number}
|
||||||
* } | undefined
|
* }
|
||||||
* }
|
* }
|
||||||
*/
|
*/
|
||||||
self.addEventListener("message", function(e) {
|
self.addEventListener("message", function(e) {
|
||||||
|
@ -105,7 +105,7 @@ async function bake(data) {
|
||||||
const response = await self.chef.bake(
|
const response = await self.chef.bake(
|
||||||
data.input, // The user's input
|
data.input, // The user's input
|
||||||
data.recipeConfig, // The configuration of the recipe
|
data.recipeConfig, // The configuration of the recipe
|
||||||
data.options // Options set by the user
|
data.options // Options set by the user
|
||||||
);
|
);
|
||||||
|
|
||||||
const transferable = (data.input instanceof ArrayBuffer) ? [data.input] : undefined;
|
const transferable = (data.input instanceof ArrayBuffer) ? [data.input] : undefined;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue