diff options
author | 2022-04-18 06:51:50 -0500 | |
---|---|---|
committer | 2022-04-18 06:51:50 -0500 | |
commit | 18801ed0c02627e87639dc0848cab44dacc18be2 (patch) | |
tree | 15e56ba66c68bf7b4594e6c9fdef44e037b4be31 /recipes/zimbra | |
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/zimbra')
-rw-r--r-- | recipes/zimbra/index.js | 4 | ||||
-rw-r--r-- | recipes/zimbra/package.json | 2 | ||||
-rw-r--r-- | recipes/zimbra/webview.js | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/recipes/zimbra/index.js b/recipes/zimbra/index.js index 50c3cf2..52dcc95 100644 --- a/recipes/zimbra/index.js +++ b/recipes/zimbra/index.js | |||
@@ -1,5 +1,5 @@ | |||
1 | module.exports = Ferdi => | 1 | module.exports = Ferdium => |
2 | class Zimbra extends Ferdi { | 2 | class Zimbra extends Ferdium { |
3 | async validateUrl() { | 3 | async validateUrl() { |
4 | return true; | 4 | return true; |
5 | } | 5 | } |
diff --git a/recipes/zimbra/package.json b/recipes/zimbra/package.json index 665776e..f05bb65 100644 --- a/recipes/zimbra/package.json +++ b/recipes/zimbra/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "zimbra", | 2 | "id": "zimbra", |
3 | "name": "Zimbra", | 3 | "name": "Zimbra", |
4 | "version": "1.1.1", | 4 | "version": "1.2.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "hasNotificationSound": true, | 7 | "hasNotificationSound": true, |
diff --git a/recipes/zimbra/webview.js b/recipes/zimbra/webview.js index d4b8a97..1fdbde5 100644 --- a/recipes/zimbra/webview.js +++ b/recipes/zimbra/webview.js | |||
@@ -1,9 +1,9 @@ | |||
1 | module.exports = Ferdi => { | 1 | module.exports = Ferdium => { |
2 | const getMessages = () => { | 2 | const getMessages = () => { |
3 | const { title } = document; | 3 | const { title } = document; |
4 | const regex = /\d+/; | 4 | const regex = /\d+/; |
5 | Ferdi.setBadge(regex.test(title) ? Number(regex.exec(title)[0]) : 0); | 5 | Ferdium.setBadge(regex.test(title) ? Number(regex.exec(title)[0]) : 0); |
6 | }; | 6 | }; |
7 | 7 | ||
8 | Ferdi.loop(getMessages); | 8 | Ferdium.loop(getMessages); |
9 | }; | 9 | }; |