1
0
mirror of synced 2024-11-15 18:53:22 +01:00

Fixed node imports.

This commit is contained in:
n1474335 2017-03-25 13:56:46 +00:00
parent c75ebcf001
commit d37bc4ab08
2 changed files with 2 additions and 2 deletions

View File

@ -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++) {

View File

@ -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;