diff options
author | 2023-09-24 13:22:39 +0200 | |
---|---|---|
committer | 2023-09-24 05:22:39 -0600 | |
commit | 84613bab74600154cd39d7deead7ded27ac27d11 (patch) | |
tree | 52a9de9da099fd2d037eb26bced915811d601d79 /recipes/grape/webview.js | |
parent | fix: featured json pointing to wrong google calendar recipe id (#427) (diff) | |
download | ferdium-recipes-84613bab74600154cd39d7deead7ded27ac27d11.tar.gz ferdium-recipes-84613bab74600154cd39d7deead7ded27ac27d11.tar.zst ferdium-recipes-84613bab74600154cd39d7deead7ded27ac27d11.zip |
chore: remove dead grape recipe (#428)
- remove recipes/grape folder
Diffstat (limited to 'recipes/grape/webview.js')
-rw-r--r-- | recipes/grape/webview.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/recipes/grape/webview.js b/recipes/grape/webview.js deleted file mode 100644 index 0115205..0000000 --- a/recipes/grape/webview.js +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | function _interopRequireDefault(obj) { | ||
2 | return obj && obj.__esModule ? obj : { default: obj }; | ||
3 | } | ||
4 | |||
5 | const _path = _interopRequireDefault(require('path')); | ||
6 | |||
7 | module.exports = Ferdium => { | ||
8 | const getMessages = () => { | ||
9 | const directMessages = document.querySelectorAll('.c0120').length; | ||
10 | const indirectMessages = document.querySelectorAll('.c0121').length; | ||
11 | |||
12 | Ferdium.setBadge(directMessages, indirectMessages); | ||
13 | }; | ||
14 | |||
15 | Ferdium.loop(getMessages); | ||
16 | |||
17 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
18 | }; | ||