aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/ticktick
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/ticktick')
-rw-r--r--recipes/ticktick/index.js2
-rw-r--r--recipes/ticktick/package.json2
-rw-r--r--recipes/ticktick/webview.js7
3 files changed, 6 insertions, 5 deletions
diff --git a/recipes/ticktick/index.js b/recipes/ticktick/index.js
index 5c9f5a4..223ef7e 100644
--- a/recipes/ticktick/index.js
+++ b/recipes/ticktick/index.js
@@ -1,2 +1,2 @@
1// default integration (e.g messenger.com, ...) 1// default integration (e.g messenger.com, ...)
2module.exports = Franz => Franz; 2module.exports = Ferdi => Ferdi;
diff --git a/recipes/ticktick/package.json b/recipes/ticktick/package.json
index 455b1c9..c7d3b58 100644
--- a/recipes/ticktick/package.json
+++ b/recipes/ticktick/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "TickTick", 2 "id": "TickTick",
3 "name": "TickTick", 3 "name": "TickTick",
4 "version": "1.1.3", 4 "version": "1.2.0",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://www.ticktick.com/#p/inbox/tasks" 7 "serviceURL": "https://www.ticktick.com/#p/inbox/tasks"
diff --git a/recipes/ticktick/webview.js b/recipes/ticktick/webview.js
index 98049e5..927bb08 100644
--- a/recipes/ticktick/webview.js
+++ b/recipes/ticktick/webview.js
@@ -1,9 +1,10 @@
1module.exports = (Franz) => { 1module.exports = (Ferdi) => {
2 const getMessages = function getMessages() { 2 const getMessages = function getMessages() {
3 // all overdue items are being counted 3 // all overdue items are being counted
4 const count = document.querySelectorAll('.duedate-overdue').length; 4 const count = document.querySelectorAll('.duedate-overdue').length;
5 5
6 Franz.setBadge(count); 6 Ferdi.setBadge(count);
7 }; 7 };
8 Franz.loop(getMessages); 8
9 Ferdi.loop(getMessages);
9}; 10};