diff options
author | Roman DÄ…bal <dabalroman@gmail.com> | 2020-09-19 20:47:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-19 19:47:19 +0100 |
commit | 3ba70d1d471004ccb7fd09ed217cea41b6335235 (patch) | |
tree | 34d837617ce0081b6523d9fc3297a401cc16c2fe /uncompressed/pomodoro-tracker/webview.js | |
parent | Add Monday recipe (#288) (diff) | |
download | ferdium-recipes-3ba70d1d471004ccb7fd09ed217cea41b6335235.tar.gz ferdium-recipes-3ba70d1d471004ccb7fd09ed217cea41b6335235.tar.zst ferdium-recipes-3ba70d1d471004ccb7fd09ed217cea41b6335235.zip |
Add Pomodoro Tracker recipe (#252)
Diffstat (limited to 'uncompressed/pomodoro-tracker/webview.js')
-rw-r--r-- | uncompressed/pomodoro-tracker/webview.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/uncompressed/pomodoro-tracker/webview.js b/uncompressed/pomodoro-tracker/webview.js new file mode 100644 index 0000000..b0a1150 --- /dev/null +++ b/uncompressed/pomodoro-tracker/webview.js | |||
@@ -0,0 +1,14 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | var _path = _interopRequireDefault(require("path")); | ||
4 | |||
5 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
6 | |||
7 | module.exports = Ferdi => { | ||
8 | const getMessages = function getMessages() { | ||
9 | Ferdi.setBadge(0, 0); | ||
10 | }; | ||
11 | |||
12 | Ferdi.loop(getMessages); | ||
13 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
14 | }; | ||