diff --git a/www/js/lib/cache.js b/www/js/lib/cache.js index 33654ce84..1335c3bab 100644 --- a/www/js/lib/cache.js +++ b/www/js/lib/cache.js @@ -64,6 +64,7 @@ function test (callback) { if (typeof Storage !== 'undefined') { try { // If localStorage is really supported, this won't produce an error + // eslint-disable-next-line no-unused-vars var item = window.localStorage.length; assetsCache.capability = assetsCache.capability + '|localStorage'; } catch (err) { @@ -199,6 +200,7 @@ function idxDB (keyOrCommand, valueOrCallback, callback) { // Create the schema open.onupgradeneeded = function () { var db = open.result; + // eslint-disable-next-line no-unused-vars var store = db.createObjectStore(objStore); }; @@ -955,7 +957,7 @@ export default { CACHEAPI: CACHEAPI, test: test, count: count, - idxDB: idxDB, + idxDB: idxDB, // only this is used in fileSystem.js cacheAPI: cacheAPI, setArticle: setArticle, getArticle: getArticle, diff --git a/www/js/lib/fileSystem.js b/www/js/lib/fileSystem.js index 1c64b7bcf..4ddbaa044 100644 --- a/www/js/lib/fileSystem.js +++ b/www/js/lib/fileSystem.js @@ -140,7 +140,6 @@ async function handleFolderDropViaFileSystemAPI (packet) { // Only runs when browser support File System API const fileInfo = packet.dataTransfer.items[0] const fileOrDirHandle = await fileInfo.getAsFileSystemHandle(); - console.log(fileOrDirHandle, fileInfo); if (fileOrDirHandle.kind === 'file') { /** @type FileSystemHandlers */ const FSHandler = {