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/plurk/index.js | 2 +- recipes/plurk/package.json | 2 +- recipes/plurk/webview.js | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'recipes/plurk') diff --git a/recipes/plurk/index.js b/recipes/plurk/index.js index 23607bd..dd41f72 100644 --- a/recipes/plurk/index.js +++ b/recipes/plurk/index.js @@ -1 +1 @@ -module.exports = Ferdi => Ferdi; +module.exports = Ferdium => Ferdium; diff --git a/recipes/plurk/package.json b/recipes/plurk/package.json index d9d3fb5..50415da 100644 --- a/recipes/plurk/package.json +++ b/recipes/plurk/package.json @@ -1,7 +1,7 @@ { "id": "plurk", "name": "Plurk", - "version": "1.1.2", + "version": "1.2.0", "license": "MIT", "config": { "serviceURL": "https://www.plurk.com" diff --git a/recipes/plurk/webview.js b/recipes/plurk/webview.js index 09f15da..dfacf30 100644 --- a/recipes/plurk/webview.js +++ b/recipes/plurk/webview.js @@ -1,4 +1,4 @@ -module.exports = Ferdi => { +module.exports = Ferdium => { const getMessages = () => { let direct = 0; @@ -6,14 +6,14 @@ module.exports = Ferdi => { const re = document.querySelector('#noti_re_count'); if (np) { - direct += Ferdi.safeParseInt(np.textContent); + direct += Ferdium.safeParseInt(np.textContent); } if (re) { - direct += Ferdi.safeParseInt(re.textContent); + direct += Ferdium.safeParseInt(re.textContent); } - Ferdi.setBadge(direct); + Ferdium.setBadge(direct); }; - Ferdi.loop(getMessages, 10_000); + Ferdium.loop(getMessages, 10_000); }; -- cgit v1.2.3-54-g00ecf