From 3a36040ba71a7f520abc92decc0bf25b2d9e8fe9 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 15 Jun 2017 18:36:23 +0200 Subject: [PATCH] lint --- www/file/main.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/www/file/main.js b/www/file/main.js index baaf2baab..eab0f8ed2 100644 --- a/www/file/main.js +++ b/www/file/main.js @@ -8,10 +8,8 @@ define([ '/common/notify.js', '/file/file-crypto.js', '/bower_components/tweetnacl/nacl-fast.min.js', - '/bower_components/file-saver/FileSaver.min.js', ], function ($, Crypto, realtimeInput, Toolbar, Cryptpad, Visible, Notify, FileCrypto) { var Messages = Cryptpad.Messages; - var saveAs = window.saveAs; var Nacl = window.nacl; var APP = {}; @@ -37,9 +35,6 @@ define([ var Title; - var myFile; - var myDataType; - var uploadMode = false; var $bar = $iframe.find('.toolbar-container'); @@ -162,7 +157,6 @@ define([ var decrypting = false; var onClick = function (ev) { if (decrypting) { return; } - if (myFile) { return void exportFile(); } decrypting = true; displayFile(ev); };