mirror of
https://github.com/gchq/CyberChef
synced 2025-12-24 04:04:25 +00:00
Converted all modules from CommonJS to ES6
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
* @copyright Crown Copyright 2017
|
||||
* @license Apache-2.0
|
||||
*/
|
||||
var Chef = require("../src/core/Chef.js");
|
||||
import Chef from "../src/core/Chef.js";
|
||||
|
||||
(function() {
|
||||
/**
|
||||
@@ -87,5 +87,7 @@ var Chef = require("../src/core/Chef.js");
|
||||
|
||||
// Singleton TestRegister, keeping things simple and obvious.
|
||||
global.TestRegister = global.TestRegister || new TestRegister();
|
||||
module.exports = global.TestRegister;
|
||||
})();
|
||||
|
||||
export default global.TestRegister;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user