diff --git a/www/FileReader.js b/www/FileReader.js index 466e0ce0..7a035a90 100644 --- a/www/FileReader.js +++ b/www/FileReader.js @@ -136,10 +136,10 @@ function readSuccessCallback (readType, encoding, offset, totalSize, accumulate, let CHUNK_SIZE = FileReader.READ_CHUNK_SIZE; if (readType === 'readAsDataURL') { CHUNK_SIZE = ( - // Calculate new chunk size for data URLs to be multiply of 3 - // Otherwise concatenated base64 chunks won't be valid base64 data - FileReader.READ_CHUNK_SIZE - (FileReader.READ_CHUNK_SIZE % 3) + 3 - ); + // Calculate new chunk size for data URLs to be multiply of 3 + // Otherwise concatenated base64 chunks won't be valid base64 data + FileReader.READ_CHUNK_SIZE - (FileReader.READ_CHUNK_SIZE % 3) + 3 + ); } if (typeof r !== 'undefined') { diff --git a/www/fileSystemPaths.js b/www/fileSystemPaths.js index bfa49123..c4693667 100644 --- a/www/fileSystemPaths.js +++ b/www/fileSystemPaths.js @@ -45,7 +45,7 @@ exports.file = { // iOS: Holds app-specific files that should be synced (e.g. to iCloud). syncedDataDirectory: null, // iOS: Files private to the app, but that are meaningful to other applications (e.g. Office files) - documentsDirectory: null, + documentsDirectory: null }; channel.waitForInitialization('onFileSystemPathsReady'); diff --git a/www/requestFileSystem.js b/www/requestFileSystem.js index 0e674106..7fd8c989 100644 --- a/www/requestFileSystem.js +++ b/www/requestFileSystem.js @@ -34,7 +34,6 @@ const argscheck = require('cordova/argscheck'); const FileError = require('./FileError'); - const FileSystem = require('./FileSystem'); const exec = require('cordova/exec'); const fileSystems = require('./fileSystems');