Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile committed Nov 2, 2024
1 parent fba0e67 commit 9db768c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions www/FileReader.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down
2 changes: 1 addition & 1 deletion www/fileSystemPaths.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
1 change: 0 additions & 1 deletion www/requestFileSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit 9db768c

Please sign in to comment.