Fixed node imports.

feature-extract-files
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;