diff options
author | 2022-04-18 06:51:50 -0500 | |
---|---|---|
committer | 2022-04-18 06:51:50 -0500 | |
commit | 18801ed0c02627e87639dc0848cab44dacc18be2 (patch) | |
tree | 15e56ba66c68bf7b4594e6c9fdef44e037b4be31 /recipes/freshrss/webview.js | |
parent | Remove deprecated webPreference flag (diff) | |
download | ferdium-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/freshrss/webview.js')
-rw-r--r-- | recipes/freshrss/webview.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/freshrss/webview.js b/recipes/freshrss/webview.js index 75da933..cdc6e55 100644 --- a/recipes/freshrss/webview.js +++ b/recipes/freshrss/webview.js | |||
@@ -1,6 +1,6 @@ | |||
1 | "use strict"; | 1 | "use strict"; |
2 | 2 | ||
3 | module.exports = Ferdi => { | 3 | module.exports = Ferdium => { |
4 | const getMessages = function getMessages() { | 4 | const getMessages = function getMessages() { |
5 | // Initialize empty vars | 5 | // Initialize empty vars |
6 | var unread = 0; | 6 | var unread = 0; |
@@ -14,12 +14,12 @@ module.exports = Ferdi => { | |||
14 | // Some logic to handle the match groups | 14 | // Some logic to handle the match groups |
15 | unread = match != null && match.length > 0 ? match[0] : 0; | 15 | unread = match != null && match.length > 0 ? match[0] : 0; |
16 | // Set unread msgs badge | 16 | // Set unread msgs badge |
17 | Ferdi.setBadge(Number.parseInt(unread, 10)); | 17 | Ferdium.setBadge(Number.parseInt(unread, 10)); |
18 | }; | 18 | }; |
19 | 19 | ||
20 | const loopFunc = () => { | 20 | const loopFunc = () => { |
21 | getMessages(); | 21 | getMessages(); |
22 | }; | 22 | }; |
23 | 23 | ||
24 | Ferdi.loop(loopFunc); | 24 | Ferdium.loop(loopFunc); |
25 | }; | 25 | }; |