aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/twist
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/twist')
-rw-r--r--recipes/twist/index.js2
-rw-r--r--recipes/twist/package.json2
-rw-r--r--recipes/twist/webview.js6
3 files changed, 5 insertions, 5 deletions
diff --git a/recipes/twist/index.js b/recipes/twist/index.js
index 258da41..23607bd 100644
--- a/recipes/twist/index.js
+++ b/recipes/twist/index.js
@@ -1 +1 @@
module.exports = Franz => Franz; module.exports = Ferdi => Ferdi;
diff --git a/recipes/twist/package.json b/recipes/twist/package.json
index 73fbb35..45f411b 100644
--- a/recipes/twist/package.json
+++ b/recipes/twist/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "twist", 2 "id": "twist",
3 "name": "twist", 3 "name": "twist",
4 "version": "1.0.3", 4 "version": "1.1.0",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://twistapp.com/login", 7 "serviceURL": "https://twistapp.com/login",
diff --git a/recipes/twist/webview.js b/recipes/twist/webview.js
index 596e627..c877d29 100644
--- a/recipes/twist/webview.js
+++ b/recipes/twist/webview.js
@@ -1,8 +1,8 @@
1module.exports = Franz => { 1module.exports = Ferdi => {
2 const getMessages = function getMessages() { 2 const getMessages = function getMessages() {
3 const count = document.querySelectorAll('.switch_pane>.unread').length; 3 const count = document.querySelectorAll('.switch_pane>.unread').length;
4 Franz.setBadge(count); 4 Ferdi.setBadge(count);
5 }; 5 };
6 6
7 Franz.loop(getMessages); 7 Ferdi.loop(getMessages);
8}; 8};