diff options
author | Vijay A <avijayr@protonmail.com> | 2021-07-31 15:28:23 +0530 |
---|---|---|
committer | Vijay A <avijayr@protonmail.com> | 2021-07-31 15:28:23 +0530 |
commit | 97697e3d069972844b2912a93022f4a4904a40d6 (patch) | |
tree | 53faff30fbac9d72042f593dfe1c547809f4f121 /recipes/googlemeet/webview.js | |
parent | Allow any url in the custom-service to allow for sites like 'http://translate... (diff) | |
download | ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.gz ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.zst ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.zip |
Fixed eslintrc as root for this folder; Reformatted all files.
Diffstat (limited to 'recipes/googlemeet/webview.js')
-rw-r--r-- | recipes/googlemeet/webview.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/recipes/googlemeet/webview.js b/recipes/googlemeet/webview.js index 8e91418..eb6f7f3 100644 --- a/recipes/googlemeet/webview.js +++ b/recipes/googlemeet/webview.js | |||
@@ -1,14 +1,12 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | const { | 1 | const { |
4 | remote | 2 | remote, |
5 | } = require('electron'); | 3 | } = require('electron'); |
6 | 4 | ||
7 | const path = require('path'); | 5 | const path = require('path'); |
8 | 6 | ||
9 | const webContents = remote.getCurrentWebContents(); | 7 | const webContents = remote.getCurrentWebContents(); |
10 | const { | 8 | const { |
11 | session | 9 | session, |
12 | } = webContents; | 10 | } = webContents; |
13 | 11 | ||
14 | window.onload = () => { | 12 | window.onload = () => { |
@@ -22,7 +20,7 @@ window.onload = () => { | |||
22 | module.exports = Franz => { | 20 | module.exports = Franz => { |
23 | session.flushStorageData(); | 21 | session.flushStorageData(); |
24 | session.clearStorageData({ | 22 | session.clearStorageData({ |
25 | storages: ['serviceworkers'] | 23 | storages: ['serviceworkers'], |
26 | }); | 24 | }); |
27 | 25 | ||
28 | const getMessages = function getMessages() { | 26 | const getMessages = function getMessages() { |