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/whereby/index.js | 2 +- recipes/whereby/package.json | 2 +- recipes/whereby/webview.js | 14 +++++++------- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'recipes/whereby') diff --git a/recipes/whereby/index.js b/recipes/whereby/index.js index 23607bd..dd41f72 100644 --- a/recipes/whereby/index.js +++ b/recipes/whereby/index.js @@ -1 +1 @@ -module.exports = Ferdi => Ferdi; +module.exports = Ferdium => Ferdium; diff --git a/recipes/whereby/package.json b/recipes/whereby/package.json index 6b3610d..3eb3668 100644 --- a/recipes/whereby/package.json +++ b/recipes/whereby/package.json @@ -1,7 +1,7 @@ { "id": "whereby", "name": "Whereby", - "version": "1.0.2", + "version": "1.1.0", "license": "MIT", "config": { "serviceURL": "https://whereby.com/{teamId}", diff --git a/recipes/whereby/webview.js b/recipes/whereby/webview.js index eb751a5..6e64c6f 100644 --- a/recipes/whereby/webview.js +++ b/recipes/whereby/webview.js @@ -2,7 +2,7 @@ var _path = _interopRequireDefault(require('path')); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -module.exports = Ferdi => { +module.exports = Ferdium => { const getMessages = () => { const elements = document.querySelectorAll('.CxUIE, .unread'); let count = 0; @@ -13,13 +13,13 @@ module.exports = Ferdi => { } } - // set Ferdi badge - Ferdi.setBadge(count); + // set Ferdium badge + Ferdium.setBadge(count); }; - // check for new messages every second and update Ferdi badge - Ferdi.loop(getMessages); + // check for new messages every second and update Ferdium badge + Ferdium.loop(getMessages); - // inject Ferdi.css stylesheet - Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); + // inject Ferdium.css stylesheet + Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); }; -- cgit v1.2.3-70-g09d2