aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/stackoverflow-chat/webview.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-09-22 05:42:17 +0530
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2021-09-22 05:44:29 +0530
commitaff47bbbed04ce5b95439f7881bbea62021b173b (patch)
tree18ccc35ea6a89d7c6aa9344320b957003295fcdf /recipes/stackoverflow-chat/webview.js
parentchore: allow self-hosted option for kimai-cloud service. (diff)
downloadferdium-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.js14
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 @@
1var _path = _interopRequireDefault(require('path'));
2
3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
4
5module.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};