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/hackmd/webview.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'recipes/hackmd/webview.js') diff --git a/recipes/hackmd/webview.js b/recipes/hackmd/webview.js index 9ccf912..dbd4746 100644 --- a/recipes/hackmd/webview.js +++ b/recipes/hackmd/webview.js @@ -2,17 +2,17 @@ const _path = _interopRequireDefault(require('path')); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -module.exports = (Ferdi) => { +module.exports = (Ferdium) => { const getMessages = () => { // get unread messages const count = document.querySelectorAll('.guilds-wrapper .badge').length; - // set Ferdi badge - Ferdi.setBadge(count); + // set Ferdium badge + Ferdium.setBadge(count); }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); // Hide download message - Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); + Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); }; -- cgit v1.2.3-54-g00ecf