diff options
Diffstat (limited to 'recipes/todoist')
-rw-r--r-- | recipes/todoist/index.js | 2 | ||||
-rw-r--r-- | recipes/todoist/package.json | 2 | ||||
-rw-r--r-- | recipes/todoist/webview.js | 10 |
3 files changed, 7 insertions, 7 deletions
diff --git a/recipes/todoist/index.js b/recipes/todoist/index.js index 23607bd..dd41f72 100644 --- a/recipes/todoist/index.js +++ b/recipes/todoist/index.js | |||
@@ -1 +1 @@ | |||
module.exports = Ferdi => Ferdi; | module.exports = Ferdium => Ferdium; | ||
diff --git a/recipes/todoist/package.json b/recipes/todoist/package.json index dda30c8..34aa90f 100644 --- a/recipes/todoist/package.json +++ b/recipes/todoist/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "todoist", | 2 | "id": "todoist", |
3 | "name": "Todoist", | 3 | "name": "Todoist", |
4 | "version": "1.3.1", | 4 | "version": "1.4.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "repository": "https://github.com/meetfranz/recipe-todoist", | 6 | "repository": "https://github.com/meetfranz/recipe-todoist", |
7 | "config": { | 7 | "config": { |
diff --git a/recipes/todoist/webview.js b/recipes/todoist/webview.js index 30030d5..27b77ad 100644 --- a/recipes/todoist/webview.js +++ b/recipes/todoist/webview.js | |||
@@ -1,4 +1,4 @@ | |||
1 | module.exports = Ferdi => { | 1 | module.exports = Ferdium => { |
2 | function getTasks() { | 2 | function getTasks() { |
3 | let todayCount = 0; | 3 | let todayCount = 0; |
4 | let inboxCount = 0; | 4 | let inboxCount = 0; |
@@ -6,15 +6,15 @@ module.exports = Ferdi => { | |||
6 | const inboxElement = document.querySelector('#filter_inbox .item_counter'); | 6 | const inboxElement = document.querySelector('#filter_inbox .item_counter'); |
7 | 7 | ||
8 | if (todayElement) { | 8 | if (todayElement) { |
9 | todayCount = Ferdi.safeParseInt(todayElement.textContent); | 9 | todayCount = Ferdium.safeParseInt(todayElement.textContent); |
10 | } | 10 | } |
11 | 11 | ||
12 | if (inboxElement) { | 12 | if (inboxElement) { |
13 | inboxCount = Ferdi.safeParseInt(inboxElement.textContent); | 13 | inboxCount = Ferdium.safeParseInt(inboxElement.textContent); |
14 | } | 14 | } |
15 | 15 | ||
16 | Ferdi.setBadge(inboxCount, todayCount); | 16 | Ferdium.setBadge(inboxCount, todayCount); |
17 | } | 17 | } |
18 | 18 | ||
19 | Ferdi.loop(getTasks); | 19 | Ferdium.loop(getTasks); |
20 | }; | 20 | }; |