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);