diff options
author | 2021-09-22 05:42:17 +0530 | |
---|---|---|
committer | 2021-09-22 05:44:29 +0530 | |
commit | aff47bbbed04ce5b95439f7881bbea62021b173b (patch) | |
tree | 18ccc35ea6a89d7c6aa9344320b957003295fcdf /recipes/stackoverflow-chat/webview.js | |
parent | chore: allow self-hosted option for kimai-cloud service. (diff) | |
download | ferdium-recipes-aff47bbbed04ce5b95439f7881bbea62021b173b.tar.gz ferdium-recipes-aff47bbbed04ce5b95439f7881bbea62021b173b.tar.zst ferdium-recipes-aff47bbbed04ce5b95439f7881bbea62021b173b.zip |
feature: Add new recipe for 'stackoverflow-chat'
(fixes #718)
Diffstat (limited to 'recipes/stackoverflow-chat/webview.js')
-rw-r--r-- | recipes/stackoverflow-chat/webview.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes/stackoverflow-chat/webview.js b/recipes/stackoverflow-chat/webview.js new file mode 100644 index 0000000..044c773 --- /dev/null +++ b/recipes/stackoverflow-chat/webview.js | |||
@@ -0,0 +1,14 @@ | |||
1 | var _path = _interopRequireDefault(require('path')); | ||
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | ||
6 | // TODO: If your stackoverflow-chat service has unread messages, uncomment these lines to implement the logic for updating the badges | ||
7 | // const getMessages = () => { | ||
8 | // // TODO: Insert your notification-finding code here | ||
9 | // Ferdi.setBadge(0, 0); | ||
10 | // }; | ||
11 | // Ferdi.loop(getMessages); | ||
12 | |||
13 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
14 | }; | ||