From 97697e3d069972844b2912a93022f4a4904a40d6 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sat, 31 Jul 2021 15:28:23 +0530 Subject: Fixed eslintrc as root for this folder; Reformatted all files. --- recipes/lastpass/webview.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'recipes/lastpass/webview.js') diff --git a/recipes/lastpass/webview.js b/recipes/lastpass/webview.js index 2b8fc28..bed9a32 100644 --- a/recipes/lastpass/webview.js +++ b/recipes/lastpass/webview.js @@ -1,14 +1,12 @@ -"use strict"; - const { - remote + remote, } = require('electron'); const path = require('path'); const webContents = remote.getCurrentWebContents(); const { - session + session, } = webContents; setTimeout(() => { if (document.querySelector('body').innerHTML.includes('Google Chrome 36+')) { @@ -19,7 +17,7 @@ window.addEventListener('beforeunload', async () => { try { session.flushStorageData(); session.clearStorageData({ - storages: ['appcache', 'serviceworkers', 'cachestorage', 'websql', 'indexdb'] + storages: ['appcache', 'serviceworkers', 'cachestorage', 'websql', 'indexdb'], }); const registrations = await window.navigator.serviceWorker.getRegistrations(); registrations.forEach(r => { -- cgit v1.2.3-70-g09d2