From 31b31654ec7b3087b9f705c759fd3122a1d77ff2 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 16 Nov 2017 18:57:33 +0100 Subject: [PATCH] Lint compliance --- www/common/sframe-common-file.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/www/common/sframe-common-file.js b/www/common/sframe-common-file.js index 7feca4c51..9d8fb65b2 100644 --- a/www/common/sframe-common-file.js +++ b/www/common/sframe-common-file.js @@ -19,15 +19,6 @@ define([ reader.readAsArrayBuffer(blob); }; - var arrayBufferToString = function (AB) { - try { - return Nacl.util.encodeBase64(new Uint8Array(AB)); - } catch (e) { - console.error(e); - return null; - } - }; - module.uploadFile = function (common, data, cb) { var sframeChan = common.getSframeChannel(); sframeChan.query('Q_UPLOAD_FILE', data, cb);