2
0
mirror of https://github.com/gchq/CyberChef synced 2025-12-10 21:33:36 +00:00

Converted all modules from CommonJS to ES6

This commit is contained in:
n1474335
2017-03-23 17:52:20 +00:00
parent 0f2a5014be
commit 131b3a83c1
75 changed files with 395 additions and 282 deletions

View File

@@ -1,5 +1,5 @@
var Utils = require("../Utils.js"),
CryptoJS = require("crypto-js");
import Utils from "../Utils.js";
import CryptoJS from "crypto-js";
/**
@@ -11,7 +11,7 @@ var Utils = require("../Utils.js"),
*
* @namespace
*/
var CharEnc = module.exports = {
const CharEnc = {
/**
* @constant
@@ -46,3 +46,5 @@ var CharEnc = module.exports = {
},
};
export default CharEnc;