Converted the core to ES modules

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

No files matched your search

+2 -2
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);
Regular → Executable
View File
File mode changed.
+1 -1
View File
@@ -1,4 +1,4 @@
import Utils from "../core/Utils.js";
import Utils from "../core/Utils";
/**
+1 -1
View File
@@ -1,5 +1,5 @@
import LoaderWorker from "worker-loader?inline&fallback=false!./LoaderWorker.js";
import Utils from "../core/Utils.js";
import Utils from "../core/Utils";
/**
Regular → Executable
View File
File mode changed.
+1 -1
View File
@@ -1,4 +1,4 @@
import Utils from "../core/Utils.js";
import Utils from "../core/Utils";
import FileSaver from "file-saver";
+1 -1
View File
@@ -1,6 +1,6 @@
import HTMLOperation from "./HTMLOperation.js";
import Sortable from "sortablejs";
import Utils from "../core/Utils.js";
import Utils from "../core/Utils";
/**
Regular → Executable
View File
File mode changed.
+2 -2
View File
@@ -13,12 +13,12 @@ import "bootstrap";
import "bootstrap-switch";
import "bootstrap-colorpicker";
import moment from "moment-timezone";
import CanvasComponents from "../core/lib/canvascomponents.js";
import CanvasComponents from "../core/vendor/canvascomponents.js";
// CyberChef
import App from "./App.js";
import Categories from "../core/config/Categories.js";
import OperationConfig from "../core/config/MetaConfig.js";
import OperationConfig from "../core/config/OperationConfig.json";
/**
Regular → Executable
View File
File mode changed.
View File
File mode changed.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File
File mode changed.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

+1 -1
View File
@@ -1,5 +1,5 @@
import sm from "sitemap";
import OperationConfig from "../../core/config/MetaConfig.js";
import OperationConfig from "../../core/config/OperationConfig.json";
/**
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
Regular → Executable
View File
File mode changed.
Regular → Executable
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
Vendored Regular → Executable
View File
File mode changed.