aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/anydo
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/anydo
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/anydo')
-rw-r--r--recipes/anydo/index.js3
-rw-r--r--recipes/anydo/package.json2
-rw-r--r--recipes/anydo/webview.js6
3 files changed, 5 insertions, 6 deletions
diff --git a/recipes/anydo/index.js b/recipes/anydo/index.js
index 46f936f..23607bd 100644
--- a/recipes/anydo/index.js
+++ b/recipes/anydo/index.js
@@ -1,2 +1 @@
1// just pass through Franz module.exports = Ferdi => Ferdi;
2module.exports = Franz => Franz;
diff --git a/recipes/anydo/package.json b/recipes/anydo/package.json
index 81c5527..e015aee 100644
--- a/recipes/anydo/package.json
+++ b/recipes/anydo/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "anydo", 2 "id": "anydo",
3 "name": "Any.do", 3 "name": "Any.do",
4 "version": "1.0.3", 4 "version": "1.1.0",
5 "license": "MIT", 5 "license": "MIT",
6 "repository": "https://github.com/chappy84/recipe-anydo", 6 "repository": "https://github.com/chappy84/recipe-anydo",
7 "config": { 7 "config": {
diff --git a/recipes/anydo/webview.js b/recipes/anydo/webview.js
index e35bfb5..cdb7e4f 100644
--- a/recipes/anydo/webview.js
+++ b/recipes/anydo/webview.js
@@ -1,4 +1,4 @@
1module.exports = (Franz) => { 1module.exports = (Ferdi) => {
2 function getTasks() { 2 function getTasks() {
3 let incompleteCount = 0; 3 let incompleteCount = 0;
4 4
@@ -10,8 +10,8 @@ module.exports = (Franz) => {
10 }); 10 });
11 } 11 }
12 12
13 Franz.setBadge(incompleteCount); 13 Ferdi.setBadge(incompleteCount);
14 } 14 }
15 15
16 Franz.loop(getTasks); 16 Ferdi.loop(getTasks);
17}; 17};