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/stackoverflow/webview.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'recipes/stackoverflow/webview.js') diff --git a/recipes/stackoverflow/webview.js b/recipes/stackoverflow/webview.js index 83fd5dd..0da8914 100644 --- a/recipes/stackoverflow/webview.js +++ b/recipes/stackoverflow/webview.js @@ -2,7 +2,7 @@ const _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; @@ -12,9 +12,9 @@ module.exports = (Ferdi) => { } } - Ferdi.setBadge(count); + Ferdium.setBadge(count); }; - Ferdi.loop(getMessages); - Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); + Ferdium.loop(getMessages); + Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); }; -- cgit v1.2.3-54-g00ecf