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/jira/index.js | 4 ++-- recipes/jira/package.json | 2 +- recipes/jira/webview.js | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'recipes/jira') diff --git a/recipes/jira/index.js b/recipes/jira/index.js index 038749a..ba77d96 100644 --- a/recipes/jira/index.js +++ b/recipes/jira/index.js @@ -1,5 +1,5 @@ -module.exports = (Ferdi) => class Jira extends Ferdi { +module.exports = (Ferdium) => class Jira extends Ferdium { overrideUserAgent() { - return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').trim(); + return window.navigator.userAgent.replace(/(Ferdium|Electron)\/\S+ \([^)]+\)/g, '').trim(); } }; diff --git a/recipes/jira/package.json b/recipes/jira/package.json index 4e70918..7cc0aa5 100644 --- a/recipes/jira/package.json +++ b/recipes/jira/package.json @@ -1,7 +1,7 @@ { "id": "jira", "name": "Jira", - "version": "1.3.2", + "version": "1.4.0", "license": "MIT", "config": { "serviceURL": "https://{teamId}.atlassian.net", diff --git a/recipes/jira/webview.js b/recipes/jira/webview.js index 9599b66..1859067 100644 --- a/recipes/jira/webview.js +++ b/recipes/jira/webview.js @@ -1,11 +1,11 @@ -module.exports = Ferdi => { +module.exports = Ferdium => { const getMessages = () => { // get unread messages const element = document.querySelector( '#atlassian-navigation-notification-count span', ); - Ferdi.setBadge(element ? element.textContent : 0); + Ferdium.setBadge(element ? element.textContent : 0); }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); }; -- cgit v1.2.3-70-g09d2