diff options
author | 2024-04-24 15:57:52 +0200 | |
---|---|---|
committer | 2024-05-04 13:40:13 +0000 | |
commit | 532c7d74d1cf2beb492bf3bd2cf1a94274794996 (patch) | |
tree | c5b005949d667df400a9e42d77c92d4b99bf1914 /recipes/taiga/webview.js | |
parent | add YaMoef as a contributor for code (#540) (diff) | |
download | ferdium-recipes-532c7d74d1cf2beb492bf3bd2cf1a94274794996.tar.gz ferdium-recipes-532c7d74d1cf2beb492bf3bd2cf1a94274794996.tar.zst ferdium-recipes-532c7d74d1cf2beb492bf3bd2cf1a94274794996.zip |
Add taiga recipe
Diffstat (limited to 'recipes/taiga/webview.js')
-rw-r--r-- | recipes/taiga/webview.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/taiga/webview.js b/recipes/taiga/webview.js new file mode 100644 index 0000000..f398ae8 --- /dev/null +++ b/recipes/taiga/webview.js | |||
@@ -0,0 +1,16 @@ | |||
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 | // TODO: If your Taiga service has unread messages, uncomment these lines to implement the logic for updating the badges | ||
9 | // const getMessages = () => { | ||
10 | // // TODO: Insert your notification-finding code here | ||
11 | // Ferdium.setBadge(0, 0); | ||
12 | // }; | ||
13 | // Ferdium.loop(getMessages); | ||
14 | |||
15 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
16 | }; | ||