diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2022-04-18 06:51:50 -0500 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2022-04-18 06:51:50 -0500 |
commit | 18801ed0c02627e87639dc0848cab44dacc18be2 (patch) | |
tree | 15e56ba66c68bf7b4594e6c9fdef44e037b4be31 /recipes/chatwork | |
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/chatwork')
-rw-r--r-- | recipes/chatwork/index.js | 2 | ||||
-rw-r--r-- | recipes/chatwork/package.json | 2 | ||||
-rw-r--r-- | recipes/chatwork/webview.js | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/recipes/chatwork/index.js b/recipes/chatwork/index.js index 23607bd..dd41f72 100644 --- a/recipes/chatwork/index.js +++ b/recipes/chatwork/index.js | |||
@@ -1 +1 @@ | |||
module.exports = Ferdi => Ferdi; | module.exports = Ferdium => Ferdium; | ||
diff --git a/recipes/chatwork/package.json b/recipes/chatwork/package.json index 79b9550..6dd5b0d 100644 --- a/recipes/chatwork/package.json +++ b/recipes/chatwork/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "chatwork", | 2 | "id": "chatwork", |
3 | "name": "Chatwork", | 3 | "name": "Chatwork", |
4 | "version": "1.1.3", | 4 | "version": "1.2.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "repository": "https://github.com/hideosasaki/recipe-chatwork", | 6 | "repository": "https://github.com/hideosasaki/recipe-chatwork", |
7 | "config": { | 7 | "config": { |
diff --git a/recipes/chatwork/webview.js b/recipes/chatwork/webview.js index ed09ef7..6b961ed 100644 --- a/recipes/chatwork/webview.js +++ b/recipes/chatwork/webview.js | |||
@@ -1,4 +1,4 @@ | |||
1 | module.exports = Ferdi => { | 1 | module.exports = Ferdium => { |
2 | const getMessages = () => { | 2 | const getMessages = () => { |
3 | let directCount = 0; | 3 | let directCount = 0; |
4 | let indirectCount = 0; | 4 | let indirectCount = 0; |
@@ -11,7 +11,7 @@ module.exports = Ferdi => { | |||
11 | ); | 11 | ); |
12 | 12 | ||
13 | if (unreadBadge && unreadBadge.textContent) { | 13 | if (unreadBadge && unreadBadge.textContent) { |
14 | count = Ferdi.safeParseInt(unreadBadge.textContent); | 14 | count = Ferdium.safeParseInt(unreadBadge.textContent); |
15 | } | 15 | } |
16 | 16 | ||
17 | if (count > 0) { | 17 | if (count > 0) { |
@@ -31,8 +31,8 @@ module.exports = Ferdi => { | |||
31 | } | 31 | } |
32 | } | 32 | } |
33 | }); | 33 | }); |
34 | Ferdi.setBadge(directCount, indirectCount); | 34 | Ferdium.setBadge(directCount, indirectCount); |
35 | }; | 35 | }; |
36 | 36 | ||
37 | Ferdi.loop(getMessages); | 37 | Ferdium.loop(getMessages); |
38 | }; | 38 | }; |