diff options
Diffstat (limited to 'recipes/twist')
-rw-r--r-- | recipes/twist/index.js | 4 | ||||
-rw-r--r-- | recipes/twist/webview.js | 4 |
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 | |||
3 | module.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 | |||
3 | module.exports = Franz => { | 1 | module.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 | }; |