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/habitica/index.js | 2 +- recipes/habitica/package.json | 2 +- recipes/habitica/webview.js | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'recipes/habitica') diff --git a/recipes/habitica/index.js b/recipes/habitica/index.js index 23607bd..dd41f72 100755 --- a/recipes/habitica/index.js +++ b/recipes/habitica/index.js @@ -1 +1 @@ -module.exports = Ferdi => Ferdi; +module.exports = Ferdium => Ferdium; diff --git a/recipes/habitica/package.json b/recipes/habitica/package.json index dad1a93..bda128e 100755 --- a/recipes/habitica/package.json +++ b/recipes/habitica/package.json @@ -1,7 +1,7 @@ { "id": "habitica", "name": "Habitica", - "version": "1.1.1", + "version": "1.2.0", "license": "MIT", "repository": "https://github.com/lmnet/franz-recipe-notion", "config": { diff --git a/recipes/habitica/webview.js b/recipes/habitica/webview.js index aa678b5..202822f 100755 --- a/recipes/habitica/webview.js +++ b/recipes/habitica/webview.js @@ -1,12 +1,12 @@ -module.exports = Ferdi => { +module.exports = Ferdium => { const getMessages = () => { let count = 0; const element = document.querySelector('.message-count'); if (element) { - count = Ferdi.safeParseInt(element.textContent); + count = Ferdium.safeParseInt(element.textContent); } - Ferdi.setBadge(count); + Ferdium.setBadge(count); }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); }; -- cgit v1.2.3-54-g00ecf