mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 15:26:16 -04:00
in/out typing working. Added translateTo function
This commit is contained in:
parent
7e7e5e7466
commit
c238862efe
3 changed files with 23 additions and 8 deletions
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
import "babel-polyfill";
|
||||
|
||||
import {wrap, help, decapitalise} from "./apiUtils";
|
||||
import {wrap, help, decapitalise, translateTo} from "./apiUtils";
|
||||
import * as operations from "../core/operations/index";
|
||||
|
||||
// Define global environment functions
|
||||
|
@ -29,6 +29,7 @@ Object.keys(operations).forEach(op =>
|
|||
chef[decapitalise(op)] = wrap(operations[op]));
|
||||
|
||||
chef.help = help.bind(null, operations);
|
||||
chef.translateTo = translateTo;
|
||||
|
||||
export default chef;
|
||||
export {chef};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue