Output files can now be downloaded using FileSaver (supports large files ~500MB)

This commit is contained in:
n1474335 2017-12-26 01:32:51 +00:00
parent af71ca6a25
commit ff94172b3c
6 changed files with 952 additions and 18 deletions

View file

@ -239,6 +239,7 @@ InputWaiter.prototype.closeFile = function() {
*/
InputWaiter.prototype.clearIoClick = function() {
this.closeFile();
this.manager.output.closeFile();
this.manager.highlighter.removeHighlights();
document.getElementById("input-text").value = "";
document.getElementById("output-text").value = "";
@ -246,7 +247,6 @@ InputWaiter.prototype.clearIoClick = function() {
document.getElementById("output-info").innerHTML = "";
document.getElementById("input-selection-info").innerHTML = "";
document.getElementById("output-selection-info").innerHTML = "";
document.getElementById("output-file").style.display = "none";
window.dispatchEvent(this.manager.statechange);
};