mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -04:00
Converted all modules from CommonJS to ES6
This commit is contained in:
parent
0f2a5014be
commit
131b3a83c1
75 changed files with 395 additions and 282 deletions
|
@ -1,5 +1,5 @@
|
|||
var Recipe = require("./Recipe.js"),
|
||||
Dish = require("./Dish.js");
|
||||
import Recipe from "./Recipe.js";
|
||||
import Dish from "./Dish.js";
|
||||
|
||||
|
||||
/**
|
||||
|
@ -11,7 +11,7 @@ var Recipe = require("./Recipe.js"),
|
|||
*
|
||||
* @namespace
|
||||
*/
|
||||
var FlowControl = module.exports = {
|
||||
const FlowControl = {
|
||||
|
||||
/**
|
||||
* @constant
|
||||
|
@ -186,3 +186,5 @@ var FlowControl = module.exports = {
|
|||
},
|
||||
|
||||
};
|
||||
|
||||
export default FlowControl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue