aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/google-translate/webview.js
diff options
context:
space:
mode:
authorLibravatar Maitre_Oda <oda.alexandre31@gmail.com>2021-08-28 13:04:04 +0200
committerLibravatar GitHub <noreply@github.com>2021-08-28 16:34:04 +0530
commitcd082f103b8b401ca23dc89aaa3c15f6f077c889 (patch)
tree3960bf373302dcb22d1454767f79f904ef48679e /recipes/google-translate/webview.js
parentNew recipe: tinder (#641) (diff)
downloadferdium-recipes-cd082f103b8b401ca23dc89aaa3c15f6f077c889.tar.gz
ferdium-recipes-cd082f103b8b401ca23dc89aaa3c15f6f077c889.tar.zst
ferdium-recipes-cd082f103b8b401ca23dc89aaa3c15f6f077c889.zip
New recipe: google-translate (#642)
Co-authored-by: oda-alexandre <oda-alexandre31@gmail.com> Co-authored-by: Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>
Diffstat (limited to 'recipes/google-translate/webview.js')
-rw-r--r--recipes/google-translate/webview.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes/google-translate/webview.js b/recipes/google-translate/webview.js
new file mode 100644
index 0000000..9875d8e
--- /dev/null
+++ b/recipes/google-translate/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 google-translate service has unread messages, uncomment these lines to implement the logic for updating the badges
7 // const getMessages = function 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};