diff options
Diffstat (limited to 'recipes/zoho-projects')
-rw-r--r-- | recipes/zoho-projects/package.json | 2 | ||||
-rw-r--r-- | recipes/zoho-projects/webview.js | 10 |
2 files changed, 10 insertions, 2 deletions
diff --git a/recipes/zoho-projects/package.json b/recipes/zoho-projects/package.json index 60b26d4..2b5f97e 100644 --- a/recipes/zoho-projects/package.json +++ b/recipes/zoho-projects/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "zoho-projects", | 2 | "id": "zoho-projects", |
3 | "name": "Zoho Projects", | 3 | "name": "Zoho Projects", |
4 | "version": "1.1.0", | 4 | "version": "1.2.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://projects.zoho.eu/" | 7 | "serviceURL": "https://projects.zoho.eu/" |
diff --git a/recipes/zoho-projects/webview.js b/recipes/zoho-projects/webview.js index 2d2d85f..14e4688 100644 --- a/recipes/zoho-projects/webview.js +++ b/recipes/zoho-projects/webview.js | |||
@@ -1,8 +1,16 @@ | |||
1 | module.exports = () => { | 1 | function _interopRequireDefault(obj) { |
2 | return obj && obj.__esModule ? obj : { default: obj }; | ||
3 | } | ||
4 | |||
5 | const _path = _interopRequireDefault(require('path')); | ||
6 | |||
7 | module.exports = Ferdium => { | ||
2 | // TODO: If your Zoho Projects service has unread messages, uncomment these lines to implement the logic for updating the badges | 8 | // TODO: If your Zoho Projects service has unread messages, uncomment these lines to implement the logic for updating the badges |
3 | // const getMessages = () => { | 9 | // const getMessages = () => { |
4 | // // TODO: Insert your notification-finding code here | 10 | // // TODO: Insert your notification-finding code here |
5 | // Ferdium.setBadge(0, 0); | 11 | // Ferdium.setBadge(0, 0); |
6 | // }; | 12 | // }; |
7 | // Ferdium.loop(getMessages); | 13 | // Ferdium.loop(getMessages); |
14 | |||
15 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
8 | }; | 16 | }; |