fix eslint:recommended errors

this should find most of the imports
This commit is contained in:
Thomas Grainger 2016-11-29 01:58:58 +00:00
parent ad730d806b
commit 640f555b8a
No known key found for this signature in database
GPG key ID: 995EA0A029283160
61 changed files with 269 additions and 44 deletions

View file

@ -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);
};