mirror of
https://github.com/gchq/CyberChef
synced 2024-11-15 00:57:08 +00:00
Fixed node imports.
This commit is contained in:
parent
c75ebcf001
commit
d37bc4ab08
2 changed files with 2 additions and 2 deletions
|
@ -124,7 +124,7 @@ const Checksum = {
|
|||
* @returns {string}
|
||||
*/
|
||||
runCRC32: function(input, args) {
|
||||
var crcTable = window.crcTable || (window.crcTable = Checksum._genCRCTable()),
|
||||
var crcTable = global.crcTable || (global.crcTable = Checksum._genCRCTable()),
|
||||
crc = 0 ^ (-1);
|
||||
|
||||
for (var i = 0; i < input.length; i++) {
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* @copyright Crown Copyright 2017
|
||||
* @license Apache-2.0
|
||||
*/
|
||||
import "babel-polyfill";
|
||||
require("babel-polyfill");
|
||||
|
||||
var Chef = require("../core/Chef.js").default;
|
||||
|
||||
|
|
Loading…
Reference in a new issue