aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/nomadlist
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/nomadlist')
-rw-r--r--recipes/nomadlist/package.json2
-rw-r--r--recipes/nomadlist/webview.js10
2 files changed, 10 insertions, 2 deletions
diff --git a/recipes/nomadlist/package.json b/recipes/nomadlist/package.json
index 64936d6..c63fecb 100644
--- a/recipes/nomadlist/package.json
+++ b/recipes/nomadlist/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "nomadlist", 2 "id": "nomadlist",
3 "name": "NomadList", 3 "name": "NomadList",
4 "version": "1.2.0", 4 "version": "1.3.0",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://nomadlist.com/chat", 7 "serviceURL": "https://nomadlist.com/chat",
diff --git a/recipes/nomadlist/webview.js b/recipes/nomadlist/webview.js
index f737e2e..a9524f8 100644
--- a/recipes/nomadlist/webview.js
+++ b/recipes/nomadlist/webview.js
@@ -1,7 +1,15 @@
1module.exports = (Ferdium) => { 1function _interopRequireDefault(obj) {
2 return obj && obj.__esModule ? obj : { default: obj };
3}
4
5const _path = _interopRequireDefault(require('path'));
6
7module.exports = Ferdium => {
2 const getMessages = () => { 8 const getMessages = () => {
3 Ferdium.setBadge($('.unread').length); 9 Ferdium.setBadge($('.unread').length);
4 }; 10 };
5 11
6 Ferdium.loop(getMessages); 12 Ferdium.loop(getMessages);
13
14 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
7}; 15};