Converted the majority of the core and operations to use CommonJS module syntax.

This commit is contained in:
n1474335 2017-03-06 12:45:51 +00:00
parent a4197684e5
commit a21e0e546b
50 changed files with 308 additions and 123 deletions

View file

@ -1,3 +1,7 @@
var Dish = require("./Dish.js"),
Recipe = require("./Recipe.js");
/**
* The main controller for CyberChef.
*
@ -7,7 +11,7 @@
*
* @class
*/
var Chef = function() {
var Chef = module.exports = function() {
this.dish = new Dish();
};