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/monday/index.js | 2 +- recipes/monday/package.json | 2 +- recipes/monday/webview.js | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'recipes/monday') diff --git a/recipes/monday/index.js b/recipes/monday/index.js index 23607bd..dd41f72 100644 --- a/recipes/monday/index.js +++ b/recipes/monday/index.js @@ -1 +1 @@ -module.exports = Ferdi => Ferdi; +module.exports = Ferdium => Ferdium; diff --git a/recipes/monday/package.json b/recipes/monday/package.json index c29e7a8..6b1bcc6 100644 --- a/recipes/monday/package.json +++ b/recipes/monday/package.json @@ -1,7 +1,7 @@ { "id": "monday", "name": "Monday", - "version": "1.1.2", + "version": "1.2.0", "license": "MIT", "config": { "serviceURL": "https://{teamId}.monday.com", diff --git a/recipes/monday/webview.js b/recipes/monday/webview.js index aa0d9a8..388e5bd 100755 --- a/recipes/monday/webview.js +++ b/recipes/monday/webview.js @@ -2,20 +2,20 @@ const _path = _interopRequireDefault(require('path')); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -module.exports = Ferdi => { +module.exports = Ferdium => { const getMessages = () => { let count = 0; const counters = document.querySelectorAll('.surface-control-component .item-counter, .surface-control-component .view-item-counter'); for (const counter of counters) { - count += Ferdi.safeParseInt(counter.textContent); + count += Ferdium.safeParseInt(counter.textContent); } - Ferdi.setBadge(count); + Ferdium.setBadge(count); }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); - Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); + Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); }; -- cgit v1.2.3-54-g00ecf