Converted all modules from CommonJS to ES6
This commit is contained in:
@@ -7,10 +7,10 @@
|
||||
*
|
||||
* @constructor
|
||||
* @param {Object} config - The configuration object for this ingredient.
|
||||
* @param {HTMLApp} app - The main view object for CyberChef.
|
||||
* @param {App} app - The main view object for CyberChef.
|
||||
* @param {Manager} manager - The CyberChef event manager.
|
||||
*/
|
||||
var HTMLIngredient = module.exports = function(config, app, manager) {
|
||||
var HTMLIngredient = function(config, app, manager) {
|
||||
this.app = app;
|
||||
this.manager = manager;
|
||||
|
||||
@@ -210,3 +210,5 @@ HTMLIngredient.prototype.editableOptionChange = function(e) {
|
||||
|
||||
this.manager.recipe.ingChange();
|
||||
};
|
||||
|
||||
export default HTMLIngredient;
|
||||
|
||||
Reference in New Issue
Block a user