mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-22 07:46:16 -04:00
Converted the majority of the core and operations to use CommonJS module syntax.
This commit is contained in:
parent
a4197684e5
commit
a21e0e546b
50 changed files with 308 additions and 123 deletions
|
@ -1,4 +1,7 @@
|
|||
/* globals esprima, escodegen, esmangle */
|
||||
var esprima = require("esprima"),
|
||||
escodegen = require("escodegen"),
|
||||
esmangle = require("esmangle");
|
||||
|
||||
|
||||
/**
|
||||
* JavaScript operations.
|
||||
|
@ -9,7 +12,7 @@
|
|||
*
|
||||
* @namespace
|
||||
*/
|
||||
var JS = {
|
||||
var JS = module.exports = {
|
||||
|
||||
/**
|
||||
* @constant
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue