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-calendar/index.js | 2 +- recipes/nextcloud-calendar/package.json | 2 +- recipes/nextcloud-calendar/webview.js | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'recipes/nextcloud-calendar') diff --git a/recipes/nextcloud-calendar/index.js b/recipes/nextcloud-calendar/index.js index 972816c..8d77048 100644 --- a/recipes/nextcloud-calendar/index.js +++ b/recipes/nextcloud-calendar/index.js @@ -1,4 +1,4 @@ -module.exports = Ferdi => class NextcloudCarnet extends Ferdi { +module.exports = Ferdium => class NextcloudCarnet extends Ferdium { buildUrl(url) { return `${url}/apps/calendar/`; } diff --git a/recipes/nextcloud-calendar/package.json b/recipes/nextcloud-calendar/package.json index 6783f7b..fa8b3d9 100644 --- a/recipes/nextcloud-calendar/package.json +++ b/recipes/nextcloud-calendar/package.json @@ -1,7 +1,7 @@ { "id": "nextcloud-calendar", "name": "Nextcloud Calendar", - "version": "1.1.1", + "version": "1.2.0", "license": "MIT", "repository": "https://github.com/eandersons/ferdi-recipe-nextcloud-calendar", "config": { diff --git a/recipes/nextcloud-calendar/webview.js b/recipes/nextcloud-calendar/webview.js index 2d932c0..84c55f2 100644 --- a/recipes/nextcloud-calendar/webview.js +++ b/recipes/nextcloud-calendar/webview.js @@ -2,16 +2,16 @@ const _path = _interopRequireDefault(require('path')); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -module.exports = Ferdi => { +module.exports = Ferdium => { const getMessages = () => { const direct = document.querySelectorAll( '.notifications .notification-wrapper .notification[object_type="dav"]', ).length; - Ferdi.setBadge(direct); + Ferdium.setBadge(direct); }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); - Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); + Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); }; -- cgit v1.2.3-70-g09d2