diff options
Diffstat (limited to 'recipes/NewsBlur')
-rw-r--r-- | recipes/NewsBlur/index.js | 3 | ||||
-rw-r--r-- | recipes/NewsBlur/package.json | 2 | ||||
-rw-r--r-- | recipes/NewsBlur/webview.js | 11 |
3 files changed, 3 insertions, 13 deletions
diff --git a/recipes/NewsBlur/index.js b/recipes/NewsBlur/index.js index 46f936f..23607bd 100644 --- a/recipes/NewsBlur/index.js +++ b/recipes/NewsBlur/index.js | |||
@@ -1,2 +1 @@ | |||
1 | // just pass through Franz | module.exports = Ferdi => Ferdi; | |
2 | module.exports = Franz => Franz; | ||
diff --git a/recipes/NewsBlur/package.json b/recipes/NewsBlur/package.json index 1e72c87..ce75b0a 100644 --- a/recipes/NewsBlur/package.json +++ b/recipes/NewsBlur/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "NewsBlur", | 2 | "id": "NewsBlur", |
3 | "name": "NewsBlur", | 3 | "name": "NewsBlur", |
4 | "version": "1.0.1", | 4 | "version": "1.1.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://newsblur.com", | 7 | "serviceURL": "https://newsblur.com", |
diff --git a/recipes/NewsBlur/webview.js b/recipes/NewsBlur/webview.js index 67e7bbb..7e19dff 100644 --- a/recipes/NewsBlur/webview.js +++ b/recipes/NewsBlur/webview.js | |||
@@ -1,11 +1,2 @@ | |||
1 | const path = require('path'); | 1 | module.exports = Ferdi => { |
2 | |||
3 | module.exports = (Franz, options) => { | ||
4 | const getMessages = () => { | ||
5 | const unreadCount = 0; | ||
6 | |||
7 | Franz.setBadge(unreadCount); | ||
8 | }; | ||
9 | |||
10 | Franz.loop(getMessages); | ||
11 | }; | 2 | }; |