aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/chatwork
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/chatwork')
-rw-r--r--recipes/chatwork/index.js2
-rw-r--r--recipes/chatwork/package.json2
-rw-r--r--recipes/chatwork/webview.js8
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 @@
1module.exports = Ferdi => { 1module.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};