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/zoom/index.js | 2 +- recipes/zoom/package.json | 2 +- recipes/zoom/webview.js | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'recipes/zoom') diff --git a/recipes/zoom/index.js b/recipes/zoom/index.js index fcaa5c9..8fd90b1 100644 --- a/recipes/zoom/index.js +++ b/recipes/zoom/index.js @@ -1,2 +1,2 @@ "use strict"; -module.exports = Ferdi => Ferdi +module.exports = Ferdium => Ferdium diff --git a/recipes/zoom/package.json b/recipes/zoom/package.json index f63f768..dc0e12c 100644 --- a/recipes/zoom/package.json +++ b/recipes/zoom/package.json @@ -1,7 +1,7 @@ { "id": "zoom", "name": "Zoom", - "version": "1.1.1", + "version": "1.2.0", "license": "MIT", "config": { "serviceURL": "https://zoom.us/join", diff --git a/recipes/zoom/webview.js b/recipes/zoom/webview.js index ab457c1..a72ef3a 100644 --- a/recipes/zoom/webview.js +++ b/recipes/zoom/webview.js @@ -4,7 +4,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -module.exports = (Ferdi, settings) => { +module.exports = (Ferdium, settings) => { const getMessages = () => { let directCount = 0; const directCountPerServer = document.querySelectorAll( @@ -12,19 +12,19 @@ module.exports = (Ferdi, settings) => { ); for (const directCountBadge of directCountPerServer) { - directCount += Ferdi.safeParseInt(directCountBadge.textContent); + directCount += Ferdium.safeParseInt(directCountBadge.textContent); } const indirectCountPerServer = document.querySelectorAll( '[class*="modeUnread-"]', ).length; - Ferdi.setBadge(directCount, indirectCountPerServer); + Ferdium.setBadge(directCount, indirectCountPerServer); }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); - Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); + Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); // TODO: This whole block is duplicated between the 'discord' and 'skype' recipes - reuse document.addEventListener( @@ -43,7 +43,7 @@ module.exports = (Ferdi, settings) => { event.stopPropagation(); // TODO: Can we send an ipc event 'open-browser-window' to open the child window? (see the slack recipe for how to send an ipc message) // TODO: Can we change the slack recipe to add a clickHandler for screensharing/video calls? (https://github.com/ferdium/ferdium-app/issues/1697) - let win = new Ferdi.BrowserWindow({ + let win = new Ferdium.BrowserWindow({ width: 800, height: window.innerHeight, minWidth: 600, -- cgit v1.2.3-70-g09d2