mirror of
https://github.com/gchq/CyberChef
synced 2025-12-05 23:53:27 +00:00
Converted all modules from CommonJS to ES6
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
var Utils = require("../core/Utils.js");
|
||||
import Utils from "../core/Utils.js";
|
||||
|
||||
|
||||
/**
|
||||
@@ -9,10 +9,10 @@ var Utils = require("../core/Utils.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 ControlsWaiter = module.exports = function(app, manager) {
|
||||
var ControlsWaiter = function(app, manager) {
|
||||
this.app = app;
|
||||
this.manager = manager;
|
||||
};
|
||||
@@ -358,3 +358,5 @@ ControlsWaiter.prototype.supportButtonClick = function() {
|
||||
"* User-Agent: \n" + navigator.userAgent + "\n" +
|
||||
"* [Link to reproduce](" + saveLink + ")\n\n";
|
||||
};
|
||||
|
||||
export default ControlsWaiter;
|
||||
|
||||
Reference in New Issue
Block a user