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/unraid/index.js | 5 +---- recipes/unraid/package.json | 2 +- recipes/unraid/webview.js | 6 +++--- 3 files changed, 5 insertions(+), 8 deletions(-) (limited to 'recipes/unraid') diff --git a/recipes/unraid/index.js b/recipes/unraid/index.js index 0b926e1..23607bd 100644 --- a/recipes/unraid/index.js +++ b/recipes/unraid/index.js @@ -1,4 +1 @@ -// just pass through Franz -module.exports = function (Franz) { - return Franz; -}; +module.exports = Ferdi => Ferdi; diff --git a/recipes/unraid/package.json b/recipes/unraid/package.json index b8f9eca..61ee6df 100644 --- a/recipes/unraid/package.json +++ b/recipes/unraid/package.json @@ -1,7 +1,7 @@ { "id": "unraid", "name": "Unraid", - "version": "1.0.3", + "version": "1.1.0", "license": "MIT", "repository": "https://github.com/rctneil/franz-recipe-unraid", "config": { diff --git a/recipes/unraid/webview.js b/recipes/unraid/webview.js index 416c722..4d194c4 100644 --- a/recipes/unraid/webview.js +++ b/recipes/unraid/webview.js @@ -1,9 +1,9 @@ -module.exports = (Franz) => { +module.exports = (Ferdi) => { const getMessages = () => { const messages = $('#jGrowl .jGrowl-notify').length; - Franz.setBadge(messages - 1); + Ferdi.setBadge(messages - 1); }; - Franz.loop(getMessages); + Ferdi.loop(getMessages); }; -- cgit v1.2.3-54-g00ecf