aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/anydo/webview.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-18 06:51:50 -0500
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-18 06:51:50 -0500
commit18801ed0c02627e87639dc0848cab44dacc18be2 (patch)
tree15e56ba66c68bf7b4594e6c9fdef44e037b4be31 /recipes/anydo/webview.js
parentRemove deprecated webPreference flag (diff)
downloadferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.tar.gz
ferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.tar.zst
ferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.zip
Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2)
Diffstat (limited to 'recipes/anydo/webview.js')
-rw-r--r--recipes/anydo/webview.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes/anydo/webview.js b/recipes/anydo/webview.js
index e1ee479..8c4dd3a 100644
--- a/recipes/anydo/webview.js
+++ b/recipes/anydo/webview.js
@@ -1,4 +1,4 @@
1module.exports = Ferdi => { 1module.exports = Ferdium => {
2 function getTasks() { 2 function getTasks() {
3 let incompleteCount = 0; 3 let incompleteCount = 0;
4 4
@@ -8,12 +8,12 @@ module.exports = Ferdi => {
8 8
9 if (countEls.length > 0) { 9 if (countEls.length > 0) {
10 for (const el of countEls) { 10 for (const el of countEls) {
11 incompleteCount += Ferdi.safeParseInt(el.textContent); 11 incompleteCount += Ferdium.safeParseInt(el.textContent);
12 } 12 }
13 } 13 }
14 14
15 Ferdi.setBadge(incompleteCount); 15 Ferdium.setBadge(incompleteCount);
16 } 16 }
17 17
18 Ferdi.loop(getTasks); 18 Ferdium.loop(getTasks);
19}; 19};