aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/twist
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-07-31 15:28:23 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-07-31 15:28:23 +0530
commit97697e3d069972844b2912a93022f4a4904a40d6 (patch)
tree53faff30fbac9d72042f593dfe1c547809f4f121 /recipes/twist
parentAllow any url in the custom-service to allow for sites like 'http://translate... (diff)
downloadferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.gz
ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.zst
ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.zip
Fixed eslintrc as root for this folder; Reformatted all files.
Diffstat (limited to 'recipes/twist')
-rw-r--r--recipes/twist/index.js4
-rw-r--r--recipes/twist/webview.js4
2 files changed, 2 insertions, 6 deletions
diff --git a/recipes/twist/index.js b/recipes/twist/index.js
index e8243fb..258da41 100644
--- a/recipes/twist/index.js
+++ b/recipes/twist/index.js
@@ -1,3 +1 @@
1"use strict"; module.exports = Franz => Franz;
2
3module.exports = Franz => Franz; \ No newline at end of file
diff --git a/recipes/twist/webview.js b/recipes/twist/webview.js
index fc4b3f1..596e627 100644
--- a/recipes/twist/webview.js
+++ b/recipes/twist/webview.js
@@ -1,5 +1,3 @@
1"use strict";
2
3module.exports = Franz => { 1module.exports = Franz => {
4 const getMessages = function getMessages() { 2 const getMessages = function getMessages() {
5 const count = document.querySelectorAll('.switch_pane>.unread').length; 3 const count = document.querySelectorAll('.switch_pane>.unread').length;
@@ -7,4 +5,4 @@ module.exports = Franz => {
7 }; 5 };
8 6
9 Franz.loop(getMessages); 7 Franz.loop(getMessages);
10}; \ No newline at end of file 8};