aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/clockify
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/clockify')
-rw-r--r--recipes/clockify/package.json2
-rw-r--r--recipes/clockify/webview.js8
2 files changed, 9 insertions, 1 deletions
diff --git a/recipes/clockify/package.json b/recipes/clockify/package.json
index d02c3aa..0eb1cf7 100644
--- a/recipes/clockify/package.json
+++ b/recipes/clockify/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "clockify", 2 "id": "clockify",
3 "name": "Clockify", 3 "name": "Clockify",
4 "version": "1.2.0", 4 "version": "1.3.0",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://clockify.me/tracker", 7 "serviceURL": "https://clockify.me/tracker",
diff --git a/recipes/clockify/webview.js b/recipes/clockify/webview.js
index 6908949..de8719e 100644
--- a/recipes/clockify/webview.js
+++ b/recipes/clockify/webview.js
@@ -1,3 +1,9 @@
1function _interopRequireDefault(obj) {
2 return obj && obj.__esModule ? obj : { default: obj };
3}
4
5const _path = _interopRequireDefault(require('path'));
6
1module.exports = Ferdium => { 7module.exports = Ferdium => {
2 const getMessages = () => { 8 const getMessages = () => {
3 const notifications = document.querySelectorAll('.notification--number'); 9 const notifications = document.querySelectorAll('.notification--number');
@@ -5,4 +11,6 @@ module.exports = Ferdium => {
5 }; 11 };
6 12
7 Ferdium.loop(getMessages); 13 Ferdium.loop(getMessages);
14
15 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
8}; 16};