Converted the core to ES modules
This commit is contained in:
1 parent
c1bb93eec1
commit
9b4fc3d3aa
154 files changed
+1901
-2223
No files matched your search
+2
-2
@@ -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
File mode changed.
@@ -1,4 +1,4 @@
|
||||
import Utils from "../core/Utils.js";
|
||||
import Utils from "../core/Utils";
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -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
File mode changed.
@@ -1,4 +1,4 @@
|
||||
import Utils from "../core/Utils.js";
|
||||
import Utils from "../core/Utils";
|
||||
import FileSaver from "file-saver";
|
||||
|
||||
|
||||
|
||||
@@ -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
File mode changed.
+2
-2
@@ -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
File mode changed.
Regular → Executable
File mode changed.
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Regular → Executable
File mode changed.
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
@@ -1,5 +1,5 @@
|
||||
import sm from "sitemap";
|
||||
import OperationConfig from "../../core/config/MetaConfig.js";
|
||||
import OperationConfig from "../../core/config/OperationConfig.json";
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
File mode changed.
Reference in new issue
Block a user