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/dialpad/index.js | 2 +- recipes/dialpad/package.json | 2 +- recipes/dialpad/webview.js | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'recipes/dialpad') diff --git a/recipes/dialpad/index.js b/recipes/dialpad/index.js index 23607bd..dd41f72 100644 --- a/recipes/dialpad/index.js +++ b/recipes/dialpad/index.js @@ -1 +1 @@ -module.exports = Ferdi => Ferdi; +module.exports = Ferdium => Ferdium; diff --git a/recipes/dialpad/package.json b/recipes/dialpad/package.json index 14ca8e3..18f8561 100644 --- a/recipes/dialpad/package.json +++ b/recipes/dialpad/package.json @@ -1,7 +1,7 @@ { "id": "dialpad", "name": "Dialpad", - "version": "1.0.1", + "version": "1.1.0", "license": "MIT", "repository": "https://github.com/TheKevJames/franz-recipe-dialpad", "config": { diff --git a/recipes/dialpad/webview.js b/recipes/dialpad/webview.js index a5c6e4a..75b53d6 100644 --- a/recipes/dialpad/webview.js +++ b/recipes/dialpad/webview.js @@ -2,15 +2,15 @@ const _path = _interopRequireDefault(require('path')); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -module.exports = (Ferdi) => { +module.exports = (Ferdium) => { const getMessages = () => { var unreadCount = 0; - $.each($('[data-qa-has-unreads]'), (idx, item) => unreadCount += Ferdi.safeParseInt(item.attributes["data-qa-has-unreads"].value)); + $.each($('[data-qa-has-unreads]'), (idx, item) => unreadCount += Ferdium.safeParseInt(item.attributes["data-qa-has-unreads"].value)); - Ferdi.setBadge(unreadCount); + Ferdium.setBadge(unreadCount); } - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); - Ferdi.injectCSS(_path.default.join(__dirname, 'whitemode.css')); + Ferdium.injectCSS(_path.default.join(__dirname, 'whitemode.css')); }; -- cgit v1.2.3-70-g09d2