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

@ -6,9 +6,9 @@
* @license Apache-2.0
*
* @constructor
* @param {HTMLApp} app - The main view object for CyberChef.
* @param {App} app - The main view object for CyberChef.
*/
var OptionsWaiter = module.exports = function(app) {
var OptionsWaiter = function(app) {
this.app = app;
};
@ -130,3 +130,5 @@ OptionsWaiter.prototype.setWordWrap = function() {
document.getElementById("output-highlighter").classList.add("word-wrap");
}
};
export default OptionsWaiter;