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/hangoutschat/index.js | 2 +- recipes/hangoutschat/package.json | 2 +- recipes/hangoutschat/webview.js | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'recipes/hangoutschat') diff --git a/recipes/hangoutschat/index.js b/recipes/hangoutschat/index.js index bd7fbe7..dd41f72 100644 --- a/recipes/hangoutschat/index.js +++ b/recipes/hangoutschat/index.js @@ -1 +1 @@ -module.exports = Ferdi => class HangoutsChat extends Ferdi {}; +module.exports = Ferdium => Ferdium; diff --git a/recipes/hangoutschat/package.json b/recipes/hangoutschat/package.json index 57f6e13..1af0ff3 100644 --- a/recipes/hangoutschat/package.json +++ b/recipes/hangoutschat/package.json @@ -1,7 +1,7 @@ { "id": "hangoutschat", "name": "Hangouts Chat", - "version": "1.5.1", + "version": "1.6.0", "license": "MIT", "aliases": [ "google-chat", diff --git a/recipes/hangoutschat/webview.js b/recipes/hangoutschat/webview.js index e2e5912..98309fb 100644 --- a/recipes/hangoutschat/webview.js +++ b/recipes/hangoutschat/webview.js @@ -1,4 +1,4 @@ -module.exports = Ferdi => { +module.exports = Ferdium => { // class corresponding to the red badge that is visible for direct messages const directMessageSelector = 'div.V6.CL.su.ahD.X9.Y2 span.akt span.XU'; @@ -23,11 +23,11 @@ module.exports = Ferdi => { indirectCount = Number(indirectCountSelector.textContent); } - // set Ferdi badge - Ferdi.setBadge(directCount, indirectCount); + // set Ferdium badge + Ferdium.setBadge(directCount, indirectCount); }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); document.addEventListener('click', e => { // @ts-ignore -- cgit v1.2.3-70-g09d2