diff options
Diffstat (limited to 'recipes/cliq')
-rw-r--r-- | recipes/cliq/package.json | 2 | ||||
-rw-r--r-- | recipes/cliq/webview.js | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/recipes/cliq/package.json b/recipes/cliq/package.json index 8087801..56b2b6e 100644 --- a/recipes/cliq/package.json +++ b/recipes/cliq/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "cliq", | 2 | "id": "cliq", |
3 | "name": "Cliq", | 3 | "name": "Cliq", |
4 | "version": "1.2.0", | 4 | "version": "1.3.0", |
5 | "repository": "https://github.com/cliqgeek/recipe-cliq", | 5 | "repository": "https://github.com/cliqgeek/recipe-cliq", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://www.zoho.com/cliq/login.html", | 7 | "serviceURL": "https://www.zoho.com/cliq/login.html", |
diff --git a/recipes/cliq/webview.js b/recipes/cliq/webview.js new file mode 100644 index 0000000..86bb422 --- /dev/null +++ b/recipes/cliq/webview.js | |||
@@ -0,0 +1,16 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | ||
2 | |||
3 | function _interopRequireDefault(obj) { | ||
4 | return obj && obj.__esModule ? obj : { default: obj }; | ||
5 | } | ||
6 | |||
7 | module.exports = Ferdium => { | ||
8 | // TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges | ||
9 | // const getMessages = () => { | ||
10 | // // TODO: Insert your notification-finding code here | ||
11 | // Ferdium.setBadge(0, 0); | ||
12 | // }; | ||
13 | // Ferdium.loop(getMessages); | ||
14 | |||
15 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
16 | }; | ||