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/lark/index.js | 2 +- recipes/lark/package.json | 2 +- recipes/lark/webview.js | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'recipes/lark') diff --git a/recipes/lark/index.js b/recipes/lark/index.js index 23607bd..dd41f72 100644 --- a/recipes/lark/index.js +++ b/recipes/lark/index.js @@ -1 +1 @@ -module.exports = Ferdi => Ferdi; +module.exports = Ferdium => Ferdium; diff --git a/recipes/lark/package.json b/recipes/lark/package.json index eaba10e..d92f6c0 100644 --- a/recipes/lark/package.json +++ b/recipes/lark/package.json @@ -1,7 +1,7 @@ { "id": "lark", "name": "Lark", - "version": "0.1.2", + "version": "0.2.0", "license": "MIT", "config": { "serviceURL": "https://{teamId}.larksuite.com/messenger/", diff --git a/recipes/lark/webview.js b/recipes/lark/webview.js index dfccccf..6dd561b 100644 --- a/recipes/lark/webview.js +++ b/recipes/lark/webview.js @@ -4,19 +4,19 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -module.exports = Ferdi => { +module.exports = Ferdium => { const getMessages = () => { const ele = document.querySelectorAll( '.larkc-badge-count.navbarMenu-badge', ); if (ele.length === 0) { - Ferdi.setBadge(0); + Ferdium.setBadge(0); return; } - Ferdi.setBadge(ele[0].textContent); + Ferdium.setBadge(ele[0].textContent); }; - 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-70-g09d2