diff options
Diffstat (limited to 'recipes/googlemeet')
-rw-r--r-- | recipes/googlemeet/index.js | 5 | ||||
-rw-r--r-- | recipes/googlemeet/webview.js | 8 |
2 files changed, 5 insertions, 8 deletions
diff --git a/recipes/googlemeet/index.js b/recipes/googlemeet/index.js index b20d6be..fe2ba1f 100644 --- a/recipes/googlemeet/index.js +++ b/recipes/googlemeet/index.js | |||
@@ -1,3 +1,2 @@ | |||
1 | module.exports = Franz => | 1 | module.exports = Franz => class GoogleMeet extends Franz { |
2 | class GoogleMeet extends Franz { | 2 | }; |
3 | }; | ||
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() { |