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/roundcube/index.js | 2 +- recipes/roundcube/package.json | 2 +- recipes/roundcube/webview.js | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'recipes/roundcube') diff --git a/recipes/roundcube/index.js b/recipes/roundcube/index.js index 23607bd..dd41f72 100644 --- a/recipes/roundcube/index.js +++ b/recipes/roundcube/index.js @@ -1 +1 @@ -module.exports = Ferdi => Ferdi; +module.exports = Ferdium => Ferdium; diff --git a/recipes/roundcube/package.json b/recipes/roundcube/package.json index 362b48e..6378ff8 100644 --- a/recipes/roundcube/package.json +++ b/recipes/roundcube/package.json @@ -1,7 +1,7 @@ { "id": "roundcube", "name": "Roundcube", - "version": "1.1.2", + "version": "1.2.0", "license": "MIT", "repository": "https://github.com/jonathanjuursema/franz-roundcube", "config": { diff --git a/recipes/roundcube/webview.js b/recipes/roundcube/webview.js index 08c6a95..f9aead4 100644 --- a/recipes/roundcube/webview.js +++ b/recipes/roundcube/webview.js @@ -1,12 +1,12 @@ -module.exports = Ferdi => { +module.exports = Ferdium => { const getMessages = () => { const directElements = document.querySelectorAll('.unreadcount'); let direct = 0; for (const directElement of directElements) { - direct += Ferdi.safeParseInt(directElement.textContent); + direct += Ferdium.safeParseInt(directElement.textContent); } - Ferdi.setBadge(direct); + Ferdium.setBadge(direct); }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); }; -- cgit v1.2.3-70-g09d2