2
0
mirror of https://github.com/gchq/CyberChef synced 2026-01-07 19:13:24 +00:00

Converted the core to ES modules

This commit is contained in:
n1474335
2018-03-26 23:14:23 +01:00
parent c1bb93eec1
commit 9b4fc3d3aa
154 changed files with 1901 additions and 2223 deletions

View File

@@ -1,4 +1,4 @@
import Utils from "../core/Utils.js";
import Utils from "../core/Utils";
import Manager from "./Manager.js";
import HTMLCategory from "./HTMLCategory.js";
import HTMLOperation from "./HTMLOperation.js";
@@ -24,7 +24,7 @@ const App = function(categories, operations, defaultFavourites, defaultOptions)
this.operations = operations;
this.dfavourites = defaultFavourites;
this.doptions = defaultOptions;
this.options = Utils.extend({}, defaultOptions);
this.options = Object.assign({}, defaultOptions);
this.manager = new Manager(this);