From 18801ed0c02627e87639dc0848cab44dacc18be2 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Mon, 18 Apr 2022 06:51:50 -0500 Subject: Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2) --- recipes/googlemeet/webview.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'recipes/googlemeet/webview.js') diff --git a/recipes/googlemeet/webview.js b/recipes/googlemeet/webview.js index 6ea36f3..f3c0f46 100644 --- a/recipes/googlemeet/webview.js +++ b/recipes/googlemeet/webview.js @@ -12,7 +12,7 @@ window.addEventListener('load', () => { } }); -module.exports = (Ferdi, settings) => { +module.exports = (Ferdium, settings) => { const getMessages = () => { const elements = document.querySelectorAll('.CxUIE, .unread'); let count = 0; @@ -23,14 +23,14 @@ module.exports = (Ferdi, settings) => { } } - Ferdi.setBadge(count); + Ferdium.setBadge(count); }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); window.addEventListener('beforeunload', async () => { - Ferdi.clearStorageData(settings.id, { storages: ['serviceworkers'] }); + Ferdium.clearStorageData(settings.id, { storages: ['serviceworkers'] }); }); - Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); + Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); }; -- cgit v1.2.3-70-g09d2