mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 07:16:17 -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 BigInteger, Checksum */
|
||||
var Utils = require("../core/Utils.js"),
|
||||
Checksum = require("./Checksum.js"),
|
||||
BigInteger = require("jsbn").BigInteger;
|
||||
|
||||
|
||||
/**
|
||||
* Internet Protocol address operations.
|
||||
|
@ -9,7 +12,7 @@
|
|||
*
|
||||
* @namespace
|
||||
*/
|
||||
var IP = {
|
||||
var IP = module.exports = {
|
||||
|
||||
/**
|
||||
* @constant
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue