Skip to content

Commit 9db768c

Browse files
committed
fix lint
1 parent fba0e67 commit 9db768c

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

www/FileReader.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ function readSuccessCallback (readType, encoding, offset, totalSize, accumulate,
136136
let CHUNK_SIZE = FileReader.READ_CHUNK_SIZE;
137137
if (readType === 'readAsDataURL') {
138138
CHUNK_SIZE = (
139-
// Calculate new chunk size for data URLs to be multiply of 3
140-
// Otherwise concatenated base64 chunks won't be valid base64 data
141-
FileReader.READ_CHUNK_SIZE - (FileReader.READ_CHUNK_SIZE % 3) + 3
142-
);
139+
// Calculate new chunk size for data URLs to be multiply of 3
140+
// Otherwise concatenated base64 chunks won't be valid base64 data
141+
FileReader.READ_CHUNK_SIZE - (FileReader.READ_CHUNK_SIZE % 3) + 3
142+
);
143143
}
144144

145145
if (typeof r !== 'undefined') {

www/fileSystemPaths.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ exports.file = {
4545
// iOS: Holds app-specific files that should be synced (e.g. to iCloud).
4646
syncedDataDirectory: null,
4747
// iOS: Files private to the app, but that are meaningful to other applications (e.g. Office files)
48-
documentsDirectory: null,
48+
documentsDirectory: null
4949
};
5050

5151
channel.waitForInitialization('onFileSystemPathsReady');

www/requestFileSystem.js

-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434

3535
const argscheck = require('cordova/argscheck');
3636
const FileError = require('./FileError');
37-
const FileSystem = require('./FileSystem');
3837
const exec = require('cordova/exec');
3938
const fileSystems = require('./fileSystems');
4039

0 commit comments

Comments
 (0)