mirror of
https://github.com/gchq/CyberChef
synced 2025-12-05 23:53:27 +00:00
Files can now be moved from the output to the input
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import Utils from "../core/Utils.js";
|
||||
import ChefWorker from "worker-loader?inline&fallback=false!../core/ChefWorker.js";
|
||||
|
||||
/**
|
||||
@@ -111,19 +110,6 @@ WorkerWaiter.prototype.bakingComplete = function(response) {
|
||||
this.app.handleError(response.error);
|
||||
}
|
||||
|
||||
switch (response.type) {
|
||||
case "html":
|
||||
this.app.dishStr = Utils.stripHtmlTags(response.result, true);
|
||||
break;
|
||||
case "ArrayBuffer":
|
||||
this.app.dishStr = "";
|
||||
break;
|
||||
case "string":
|
||||
default:
|
||||
this.app.dishStr = response.result;
|
||||
break;
|
||||
}
|
||||
|
||||
this.app.progress = response.progress;
|
||||
this.manager.recipe.updateBreakpointIndicator(response.progress);
|
||||
this.manager.output.set(response.result, response.type, response.duration);
|
||||
|
||||
Reference in New Issue
Block a user