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/disqus/index.js | 2 +- recipes/disqus/package.json | 2 +- recipes/disqus/webview.js | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'recipes/disqus') diff --git a/recipes/disqus/index.js b/recipes/disqus/index.js index 23607bd..dd41f72 100644 --- a/recipes/disqus/index.js +++ b/recipes/disqus/index.js @@ -1 +1 @@ -module.exports = Ferdi => Ferdi; +module.exports = Ferdium => Ferdium; diff --git a/recipes/disqus/package.json b/recipes/disqus/package.json index 11ce689..6ac125a 100644 --- a/recipes/disqus/package.json +++ b/recipes/disqus/package.json @@ -1,7 +1,7 @@ { "id": "disqus", "name": "Disqus", - "version": "1.1.2", + "version": "1.2.0", "license": "MIT", "config": { "serviceURL": "https://disqus.com/home/" diff --git a/recipes/disqus/webview.js b/recipes/disqus/webview.js index fcdd386..2de4b43 100644 --- a/recipes/disqus/webview.js +++ b/recipes/disqus/webview.js @@ -1,7 +1,7 @@ -module.exports = Ferdi => { +module.exports = Ferdium => { const getInnerInt = selector => { const element = document.querySelector(selector); - return element && Ferdi.safeParseInt(element.textContent); + return element && Ferdium.safeParseInt(element.textContent); }; const getMessages = () => { @@ -10,8 +10,8 @@ module.exports = Ferdi => { getInnerInt('a.has-notifs div.notif-count') || 0; - Ferdi.setBadge(direct); + Ferdium.setBadge(direct); }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); }; -- cgit v1.2.3-70-g09d2