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/facebook/webview.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'recipes/facebook/webview.js') diff --git a/recipes/facebook/webview.js b/recipes/facebook/webview.js index 3100935..d9e8687 100755 --- a/recipes/facebook/webview.js +++ b/recipes/facebook/webview.js @@ -1,4 +1,4 @@ -module.exports = Ferdi => { +module.exports = Ferdium => { const getNotifications = function getNotifications() { let count = 0; @@ -13,11 +13,11 @@ module.exports = Ferdi => { for (const element of elements) { if (element !== null) { - count += Ferdi.safeParseInt(element.textContent); + count += Ferdium.safeParseInt(element.textContent); } } - Ferdi.setBadge(count); + Ferdium.setBadge(count); }; const getActiveDialogTitle = () => { @@ -30,7 +30,7 @@ module.exports = Ferdi => { ), ].find(Boolean); - Ferdi.setDialogTitle(element ? element.textContent : null); + Ferdium.setDialogTitle(element ? element.textContent : null); }; const loopFunc = () => { @@ -38,5 +38,5 @@ module.exports = Ferdi => { getActiveDialogTitle(); }; - Ferdi.loop(loopFunc); + Ferdium.loop(loopFunc); }; -- cgit v1.2.3-70-g09d2