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/todoist/webview.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'recipes/todoist/webview.js') diff --git a/recipes/todoist/webview.js b/recipes/todoist/webview.js index 30030d5..27b77ad 100644 --- a/recipes/todoist/webview.js +++ b/recipes/todoist/webview.js @@ -1,4 +1,4 @@ -module.exports = Ferdi => { +module.exports = Ferdium => { function getTasks() { let todayCount = 0; let inboxCount = 0; @@ -6,15 +6,15 @@ module.exports = Ferdi => { const inboxElement = document.querySelector('#filter_inbox .item_counter'); if (todayElement) { - todayCount = Ferdi.safeParseInt(todayElement.textContent); + todayCount = Ferdium.safeParseInt(todayElement.textContent); } if (inboxElement) { - inboxCount = Ferdi.safeParseInt(inboxElement.textContent); + inboxCount = Ferdium.safeParseInt(inboxElement.textContent); } - Ferdi.setBadge(inboxCount, todayCount); + Ferdium.setBadge(inboxCount, todayCount); } - Ferdi.loop(getTasks); + Ferdium.loop(getTasks); }; -- cgit v1.2.3-70-g09d2