Set up Grunt tasks to build web and Node versions of CyberChef using webpack

This commit is contained in:
n1474335 2017-03-21 22:41:44 +00:00
parent 99f306dc18
commit 885fbe13ac
56 changed files with 299 additions and 29138 deletions

View file

@ -1,5 +1,5 @@
var OperationConfig = require("../config/OperationConfig.js"),
Operation = require("./Operation.js");
var Operation = require("./Operation.js");
// OperationConfig required at the bottom of this file to prevent circular dependency errors
/**
@ -216,3 +216,8 @@ Recipe.prototype.fromString = function(recipeStr) {
var recipeConfig = JSON.parse(recipeStr);
this._parseConfig(recipeConfig);
};
// Required here to prevent circular dependency where Recipe returns an empty object
// See http://stackoverflow.com/a/30390378
var OperationConfig = require("../config/OperationConfig.js");