mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-22 15:56:16 -04:00
fix eslint:recommended errors
this should find most of the imports
This commit is contained in:
parent
ad730d806b
commit
640f555b8a
61 changed files with 269 additions and 44 deletions
|
@ -1,3 +1,5 @@
|
|||
import $ from 'jquery';
|
||||
import HTMLOperation from './HTMLOperation';
|
||||
/* globals Sortable */
|
||||
|
||||
/**
|
||||
|
@ -11,11 +13,11 @@
|
|||
* @param {HTMLApp} app - The main view object for CyberChef.
|
||||
* @param {Manager} manager - The CyberChef event manager.
|
||||
*/
|
||||
const RecipeWaiter = function (app, manager) {
|
||||
export default function RecipeWaiter(app, manager) {
|
||||
this.app = app;
|
||||
this.manager = manager;
|
||||
this.remove_intent = false;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
|
@ -405,7 +407,7 @@ RecipeWaiter.prototype.dropdown_toggle_click = function (e) {
|
|||
* @fires Manager#statechange
|
||||
* @param {event} e
|
||||
*/
|
||||
RecipeWaiter.prototype.op_add = function (e) {
|
||||
RecipeWaiter.prototype.op_add = function () {
|
||||
window.dispatchEvent(this.manager.statechange);
|
||||
};
|
||||
|
||||
|
@ -417,6 +419,6 @@ RecipeWaiter.prototype.op_add = function (e) {
|
|||
* @fires Manager#statechange
|
||||
* @param {event} e
|
||||
*/
|
||||
RecipeWaiter.prototype.op_remove = function (e) {
|
||||
RecipeWaiter.prototype.op_remove = function () {
|
||||
window.dispatchEvent(this.manager.statechange);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue