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/index.js | 2 +- recipes/facebook/package.json | 2 +- recipes/facebook/webview.js | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'recipes/facebook') diff --git a/recipes/facebook/index.js b/recipes/facebook/index.js index 23607bd..dd41f72 100755 --- a/recipes/facebook/index.js +++ b/recipes/facebook/index.js @@ -1 +1 @@ -module.exports = Ferdi => Ferdi; +module.exports = Ferdium => Ferdium; diff --git a/recipes/facebook/package.json b/recipes/facebook/package.json index 53bc486..b76a2c7 100755 --- a/recipes/facebook/package.json +++ b/recipes/facebook/package.json @@ -1,7 +1,7 @@ { "id": "facebook", "name": "Facebook", - "version": "1.1.2", + "version": "1.2.0", "license": "MIT", "config": { "serviceURL": "https://www.facebook.com/login" 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