aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/chatwork
diff options
context:
space:
mode:
authorLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-08-27 18:13:24 +0530
committerLibravatar GitHub <noreply@github.com>2021-08-27 18:13:24 +0530
commit155c4b832281348c16be1f4ef667e6e23dbf1bd8 (patch)
treed144e2de2e6c7fb2e334246e8a4aecdbeb08ef8d /recipes/chatwork
parentdocs: fixed template file for creating recipe. (diff)
downloadferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.tar.gz
ferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.tar.zst
ferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.zip
chore: normalized all recipes to ensure compatibility with es6 (#639)
- Removed some calls to set badge with '0' all the time. - Removed all 'sourceMaps' since they are all outdated atm.
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.js6
3 files changed, 5 insertions, 5 deletions
diff --git a/recipes/chatwork/index.js b/recipes/chatwork/index.js
index 258da41..23607bd 100644
--- a/recipes/chatwork/index.js
+++ b/recipes/chatwork/index.js
@@ -1 +1 @@
module.exports = Franz => Franz; module.exports = Ferdi => Ferdi;
diff --git a/recipes/chatwork/package.json b/recipes/chatwork/package.json
index 3947251..eb6eaf8 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.0.5", 4 "version": "1.1.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 c6465ec..e131093 100644
--- a/recipes/chatwork/webview.js
+++ b/recipes/chatwork/webview.js
@@ -1,4 +1,4 @@
1module.exports = (Franz, options) => { 1module.exports = (Ferdi) => {
2 function getMessages() { 2 function getMessages() {
3 let groupCount = 0; 3 let groupCount = 0;
4 let individualCount = 0; 4 let individualCount = 0;
@@ -29,8 +29,8 @@ module.exports = (Franz, options) => {
29 } 29 }
30 } 30 }
31 }); 31 });
32 Franz.setBadge(directCount, indirectCount); 32 Ferdi.setBadge(directCount, indirectCount);
33 } 33 }
34 34
35 Franz.loop(getMessages); 35 Ferdi.loop(getMessages);
36}; 36};