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/mstodo/index.js | 2 +- recipes/mstodo/package.json | 2 +- recipes/mstodo/webview.js | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'recipes/mstodo') diff --git a/recipes/mstodo/index.js b/recipes/mstodo/index.js index c0a684b..dd41f72 100644 --- a/recipes/mstodo/index.js +++ b/recipes/mstodo/index.js @@ -1 +1 @@ -module.exports = Ferdi => class mstodo extends Ferdi {}; +module.exports = Ferdium => Ferdium; diff --git a/recipes/mstodo/package.json b/recipes/mstodo/package.json index 2d12e1a..2d38ce0 100644 --- a/recipes/mstodo/package.json +++ b/recipes/mstodo/package.json @@ -1,7 +1,7 @@ { "id": "mstodo", "name": "Microsoft To Do", - "version": "1.1.1", + "version": "1.2.0", "license": "MIT", "config": { "serviceURL": "https://to-do.live.com/tasks/", diff --git a/recipes/mstodo/webview.js b/recipes/mstodo/webview.js index 1692a4d..960e4bb 100644 --- a/recipes/mstodo/webview.js +++ b/recipes/mstodo/webview.js @@ -2,7 +2,7 @@ const _path = _interopRequireDefault(require('path')); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -module.exports = Ferdi => { +module.exports = Ferdium => { const getMessages = () => { const elements = document.querySelectorAll('.taskItem'); let count = 0; @@ -13,11 +13,11 @@ module.exports = Ferdi => { } } - // set Ferdi badge - Ferdi.setBadge(count); + // set Ferdium badge + 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