From 155c4b832281348c16be1f4ef667e6e23dbf1bd8 Mon Sep 17 00:00:00 2001 From: Vijay Raghavan Aravamudhan Date: Fri, 27 Aug 2021 18:13:24 +0530 Subject: 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. --- recipes/NewsBlur/index.js | 3 +-- recipes/NewsBlur/package.json | 2 +- recipes/NewsBlur/webview.js | 11 +---------- 3 files changed, 3 insertions(+), 13 deletions(-) (limited to 'recipes/NewsBlur') 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 @@ -// just pass through Franz -module.exports = Franz => Franz; +module.exports = Ferdi => Ferdi; 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 @@ { "id": "NewsBlur", "name": "NewsBlur", - "version": "1.0.1", + "version": "1.1.0", "license": "MIT", "config": { "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 @@ -const path = require('path'); - -module.exports = (Franz, options) => { - const getMessages = () => { - const unreadCount = 0; - - Franz.setBadge(unreadCount); - }; - - Franz.loop(getMessages); +module.exports = Ferdi => { }; -- cgit v1.2.3-54-g00ecf