mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-24 16:56:15 -04:00
WIP HAD to move NodeDish out - NONE of it is async!
This commit is contained in:
parent
aafde8986d
commit
04b7f2fa8c
16 changed files with 442 additions and 411 deletions
|
@ -39,7 +39,7 @@ let code = `/**
|
|||
|
||||
|
||||
import "babel-polyfill";
|
||||
import SyncDish from "./SyncDish";
|
||||
import NodeDish from "./NodeDish";
|
||||
import { wrap, help, bake, explainExludedFunction } from "./api";
|
||||
import {
|
||||
// import as core_ to avoid name clashes after wrap.
|
||||
|
@ -87,7 +87,7 @@ code += ` };
|
|||
const chef = generateChef();
|
||||
// Add some additional features to chef object.
|
||||
chef.help = help;
|
||||
chef.Dish = SyncDish;
|
||||
chef.Dish = NodeDish;
|
||||
|
||||
// Define consts here so we can add to top-level export - wont allow
|
||||
// export of chef property.
|
||||
|
@ -121,7 +121,7 @@ Object.keys(operations).forEach((op) => {
|
|||
code += ` ${decapitalise(op)},\n`;
|
||||
});
|
||||
|
||||
code += " SyncDish as Dish,\n";
|
||||
code += " NodeDish as Dish,\n";
|
||||
code += " prebaked as bake,\n";
|
||||
code += " help,\n";
|
||||
code += "};\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue