Move waiters and workers into separate folders.

This commit is contained in:
j433866 2019-06-06 09:09:48 +01:00
parent 31a3af1f84
commit b77239fc15
16 changed files with 31 additions and 31 deletions

View File

@ -4,18 +4,18 @@
* @license Apache-2.0
*/
import WorkerWaiter from "./WorkerWaiter";
import WindowWaiter from "./WindowWaiter";
import ControlsWaiter from "./ControlsWaiter";
import RecipeWaiter from "./RecipeWaiter";
import OperationsWaiter from "./OperationsWaiter";
import InputWaiter from "./InputWaiter";
import OutputWaiter from "./OutputWaiter";
import OptionsWaiter from "./OptionsWaiter";
import HighlighterWaiter from "./HighlighterWaiter";
import SeasonalWaiter from "./SeasonalWaiter";
import BindingsWaiter from "./BindingsWaiter";
import BackgroundWorkerWaiter from "./BackgroundWorkerWaiter";
import WorkerWaiter from "./waiters/WorkerWaiter";
import WindowWaiter from "./waiters/WindowWaiter";
import ControlsWaiter from "./waiters/ControlsWaiter";
import RecipeWaiter from "./waiters/RecipeWaiter";
import OperationsWaiter from "./waiters/OperationsWaiter";
import InputWaiter from "./waiters/InputWaiter";
import OutputWaiter from "./waiters/OutputWaiter";
import OptionsWaiter from "./waiters/OptionsWaiter";
import HighlighterWaiter from "./waiters/HighlighterWaiter";
import SeasonalWaiter from "./waiters/SeasonalWaiter";
import BindingsWaiter from "./waiters/BindingsWaiter";
import BackgroundWorkerWaiter from "./waiters/BackgroundWorkerWaiter";
/**

View File

@ -4,7 +4,7 @@
* @license Apache-2.0
*/
import ChefWorker from "worker-loader?inline&fallback=false!../core/ChefWorker";
import ChefWorker from "worker-loader?inline&fallback=false!../../core/ChefWorker";
/**
* Waiter to handle conversations with a ChefWorker in the background.

View File

@ -4,7 +4,7 @@
* @license Apache-2.0
*/
import Utils from "../core/Utils";
import Utils from "../../core/Utils";
/**

View File

@ -5,11 +5,11 @@
* @license Apache-2.0
*/
import LoaderWorker from "worker-loader?inline&fallback=false!./LoaderWorker";
import InputWorker from "worker-loader?inline&fallback=false!./InputWorker";
import Utils from "../core/Utils";
import { toBase64 } from "../core/lib/Base64";
import { isImage } from "../core/lib/FileType";
import LoaderWorker from "worker-loader?inline&fallback=false!../workers/LoaderWorker";
import InputWorker from "worker-loader?inline&fallback=false!../workers/InputWorker";
import Utils from "../../core/Utils";
import { toBase64 } from "../../core/lib/Base64";
import { isImage } from "../../core/lib/FileType";
/**
@ -413,7 +413,7 @@ class InputWaiter {
*/
resetFileThumb() {
const fileThumb = document.getElementById("input-file-thumbnail");
fileThumb.src = require("./static/images/file-128x128.png");
fileThumb.src = require("../static/images/file-128x128.png");
}
/**

View File

@ -4,7 +4,7 @@
* @license Apache-2.0
*/
import HTMLOperation from "./HTMLOperation";
import HTMLOperation from "../HTMLOperation";
import Sortable from "sortablejs";

View File

@ -5,9 +5,9 @@
* @license Apache-2.0
*/
import Utils from "../core/Utils";
import Utils from "../../core/Utils";
import FileSaver from "file-saver";
import ZipWorker from "worker-loader?inline&fallback=false!./ZipWorker";
import ZipWorker from "worker-loader?inline&fallback=false!../workers/ZipWorker";
/**
* Waiter to handle events related to the output

View File

@ -4,9 +4,9 @@
* @license Apache-2.0
*/
import HTMLOperation from "./HTMLOperation";
import HTMLOperation from "../HTMLOperation";
import Sortable from "sortablejs";
import Utils from "../core/Utils";
import Utils from "../../core/Utils";
/**

View File

@ -5,8 +5,8 @@
*/
import clippy from "clippyjs";
import "./static/clippy_assets/agents/Clippy/agent.js";
import clippyMap from "./static/clippy_assets/agents/Clippy/map.png";
import "../static/clippy_assets/agents/Clippy/agent.js";
import clippyMap from "../static/clippy_assets/agents/Clippy/map.png";
/**
* Waiter to handle seasonal events and easter eggs.

View File

@ -5,7 +5,7 @@
* @license Apache-2.0
*/
import ChefWorker from "worker-loader?inline&fallback=false!../core/ChefWorker";
import ChefWorker from "worker-loader?inline&fallback=false!../../core/ChefWorker";
/**
* Waiter to handle conversations with the ChefWorker

View File

@ -6,7 +6,7 @@
* @license Apache-2.0
*/
import Utils from "../core/Utils";
import Utils from "../../core/Utils";
self.maxWorkers = 4;
self.maxTabs = 1;

View File

@ -7,8 +7,8 @@
*/
import zip from "zlibjs/bin/zip.min";
import Utils from "../core/Utils";
import {detectFileType} from "../core/lib/FileType";
import Utils from "../../core/Utils";
import {detectFileType} from "../../core/lib/FileType";
const Zlib = zip.Zlib;