From 18801ed0c02627e87639dc0848cab44dacc18be2 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Mon, 18 Apr 2022 06:51:50 -0500 Subject: Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2) --- recipes/nextcloud/index.js | 2 +- recipes/nextcloud/package.json | 2 +- recipes/nextcloud/webview.js | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'recipes/nextcloud') diff --git a/recipes/nextcloud/index.js b/recipes/nextcloud/index.js index 66d3347..4618097 100644 --- a/recipes/nextcloud/index.js +++ b/recipes/nextcloud/index.js @@ -1,4 +1,4 @@ -module.exports = Ferdi => class Nextcloud extends Ferdi { +module.exports = Ferdium => class Nextcloud extends Ferdium { buildUrl(url) { return `${url}/`; } diff --git a/recipes/nextcloud/package.json b/recipes/nextcloud/package.json index 409ebc9..de475f6 100644 --- a/recipes/nextcloud/package.json +++ b/recipes/nextcloud/package.json @@ -1,7 +1,7 @@ { "id": "nextcloud", "name": "Nextcloud", - "version": "1.1.1", + "version": "1.2.0", "license": "MIT", "repository": "https://github.com/eandersons/ferdi-recipe-nextcloud", "config": { diff --git a/recipes/nextcloud/webview.js b/recipes/nextcloud/webview.js index 9072ecf..786f7a8 100644 --- a/recipes/nextcloud/webview.js +++ b/recipes/nextcloud/webview.js @@ -1,11 +1,11 @@ -module.exports = Ferdi => { +module.exports = Ferdium => { const getMessages = () => { const direct = document.querySelectorAll( '.notifications .notification-container .notification-wrapper li .notification', ).length; - Ferdi.setBadge(direct); + Ferdium.setBadge(direct); }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); }; -- cgit v1.2.3-70-g09d2