diff options
Diffstat (limited to 'recipes/anydo')
-rw-r--r-- | recipes/anydo/index.js | 2 | ||||
-rw-r--r-- | recipes/anydo/package.json | 2 | ||||
-rw-r--r-- | recipes/anydo/webview.js | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/recipes/anydo/index.js b/recipes/anydo/index.js index 23607bd..dd41f72 100644 --- a/recipes/anydo/index.js +++ b/recipes/anydo/index.js | |||
@@ -1 +1 @@ | |||
module.exports = Ferdi => Ferdi; | module.exports = Ferdium => Ferdium; | ||
diff --git a/recipes/anydo/package.json b/recipes/anydo/package.json index eb6d8d4..0687290 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.1.1", | 4 | "version": "1.2.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 e1ee479..8c4dd3a 100644 --- a/recipes/anydo/webview.js +++ b/recipes/anydo/webview.js | |||
@@ -1,4 +1,4 @@ | |||
1 | module.exports = Ferdi => { | 1 | module.exports = Ferdium => { |
2 | function getTasks() { | 2 | function getTasks() { |
3 | let incompleteCount = 0; | 3 | let incompleteCount = 0; |
4 | 4 | ||
@@ -8,12 +8,12 @@ module.exports = Ferdi => { | |||
8 | 8 | ||
9 | if (countEls.length > 0) { | 9 | if (countEls.length > 0) { |
10 | for (const el of countEls) { | 10 | for (const el of countEls) { |
11 | incompleteCount += Ferdi.safeParseInt(el.textContent); | 11 | incompleteCount += Ferdium.safeParseInt(el.textContent); |
12 | } | 12 | } |
13 | } | 13 | } |
14 | 14 | ||
15 | Ferdi.setBadge(incompleteCount); | 15 | Ferdium.setBadge(incompleteCount); |
16 | } | 16 | } |
17 | 17 | ||
18 | Ferdi.loop(getTasks); | 18 | Ferdium.loop(getTasks); |
19 | }; | 19 | }; |