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/vk/index.js | 2 +- recipes/vk/package.json | 2 +- recipes/vk/webview.js | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'recipes/vk') diff --git a/recipes/vk/index.js b/recipes/vk/index.js index 23607bd..dd41f72 100644 --- a/recipes/vk/index.js +++ b/recipes/vk/index.js @@ -1 +1 @@ -module.exports = Ferdi => Ferdi; +module.exports = Ferdium => Ferdium; diff --git a/recipes/vk/package.json b/recipes/vk/package.json index e61c166..f721d6d 100644 --- a/recipes/vk/package.json +++ b/recipes/vk/package.json @@ -1,7 +1,7 @@ { "id": "vk", "name": "VK", - "version": "1.1.3", + "version": "1.2.0", "license": "MIT", "repository": "https://github.com/meetfranz/recipe-vk", "config": { diff --git a/recipes/vk/webview.js b/recipes/vk/webview.js index 6756363..aac23c3 100644 --- a/recipes/vk/webview.js +++ b/recipes/vk/webview.js @@ -1,12 +1,12 @@ -module.exports = Ferdi => { +module.exports = Ferdium => { const getMessages = () => { let directs = 0; const element = document.querySelectorAll('.left_count'); if (element.length > 0) { - directs = Ferdi.safeParseInt(element[0].textContent); + directs = Ferdium.safeParseInt(element[0].textContent); } - Ferdi.setBadge(directs); + Ferdium.setBadge(directs); }; const getActiveDialogTitle = () => { @@ -17,7 +17,7 @@ module.exports = Ferdi => { document.querySelector('.im-page_history-show ._im_page_peer_name'), ].find(Boolean); - Ferdi.setDialogTitle(element ? element.textContent : null); + Ferdium.setDialogTitle(element ? element.textContent : null); }; const loopFunc = () => { @@ -25,5 +25,5 @@ module.exports = Ferdi => { getActiveDialogTitle(); }; - Ferdi.loop(loopFunc); + Ferdium.loop(loopFunc); }; -- cgit v1.2.3-70-g09d2