aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/NewsBlur
diff options
context:
space:
mode:
authorLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-08-27 18:13:24 +0530
committerLibravatar GitHub <noreply@github.com>2021-08-27 18:13:24 +0530
commit155c4b832281348c16be1f4ef667e6e23dbf1bd8 (patch)
treed144e2de2e6c7fb2e334246e8a4aecdbeb08ef8d /recipes/NewsBlur
parentdocs: fixed template file for creating recipe. (diff)
downloadferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.tar.gz
ferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.tar.zst
ferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.zip
chore: normalized all recipes to ensure compatibility with es6 (#639)
- Removed some calls to set badge with '0' all the time. - Removed all 'sourceMaps' since they are all outdated atm.
Diffstat (limited to 'recipes/NewsBlur')
-rw-r--r--recipes/NewsBlur/index.js3
-rw-r--r--recipes/NewsBlur/package.json2
-rw-r--r--recipes/NewsBlur/webview.js11
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;
2module.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 @@
1const path = require('path'); 1module.exports = Ferdi => {
2
3module.exports = (Franz, options) => {
4 const getMessages = () => {
5 const unreadCount = 0;
6
7 Franz.setBadge(unreadCount);
8 };
9
10 Franz.loop(getMessages);
11}; 2};