Converted all modules from CommonJS to ES6

This commit is contained in:
n1474335 2017-03-23 17:52:20 +00:00
parent 0f2a5014be
commit 131b3a83c1
75 changed files with 395 additions and 282 deletions

View file

@ -1,5 +1,5 @@
var HTMLOperation = require("./HTMLOperation.js"),
Sortable = require("sortablejs");
import HTMLOperation from "./HTMLOperation.js";
import Sortable from "sortablejs";
/**
@ -10,10 +10,10 @@ var HTMLOperation = require("./HTMLOperation.js"),
* @license Apache-2.0
*
* @constructor
* @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 OperationsWaiter = module.exports = function(app, manager) {
var OperationsWaiter = function(app, manager) {
this.app = app;
this.manager = manager;
@ -283,3 +283,5 @@ OperationsWaiter.prototype.opIconMouseleave = function(e) {
$(opEl).popover("show");
}
};
export default OperationsWaiter;