diff options
author | Maitre_Oda <oda.alexandre31@gmail.com> | 2021-08-28 13:04:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-28 16:34:04 +0530 |
commit | cd082f103b8b401ca23dc89aaa3c15f6f077c889 (patch) | |
tree | 3960bf373302dcb22d1454767f79f904ef48679e /recipes/google-translate/webview.js | |
parent | New recipe: tinder (#641) (diff) | |
download | ferdium-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.js | 14 |
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 @@ | |||
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 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 | }; | ||