From 6f077a9c507615b7078936520be796516d8632dd Mon Sep 17 00:00:00 2001 From: toby Date: Wed, 8 Feb 2017 12:51:18 -0500 Subject: [PATCH] Rename to runTar, runUntar, displayFilesAsHTML --- src/js/config/OperationConfig.js | 4 ++-- src/js/core/Utils.js | 2 +- src/js/operations/Compress.js | 7 +++---- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/js/config/OperationConfig.js b/src/js/config/OperationConfig.js index df8fe22c..19bcaf67 100755 --- a/src/js/config/OperationConfig.js +++ b/src/js/config/OperationConfig.js @@ -2996,7 +2996,7 @@ var OperationConfig = { }, "Tar": { description: "Packs the input into a tarball.

No support for multiple files at this time.", - run: Compress.tar, + run: Compress.runTar, inputType: "byteArray", outputType: "byteArray", args: [ @@ -3009,7 +3009,7 @@ var OperationConfig = { }, "Untar": { description: "Unpacks a tarball and displays it per file.", - run: Compress.untar, + run: Compress.runUntar, inputType: "byteArray", outputType: "html", args: [ diff --git a/src/js/core/Utils.js b/src/js/core/Utils.js index ef9fe1c3..721275b6 100755 --- a/src/js/core/Utils.js +++ b/src/js/core/Utils.js @@ -935,7 +935,7 @@ var Utils = { * @param {File[]} files * @returns {html} */ - HTMLFiles: function(files){ + displayFilesAsHTML: function(files){ var formatDirectory = function(file) { var html = "
" + "