aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mstodo
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-18 06:51:50 -0500
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-18 06:51:50 -0500
commit18801ed0c02627e87639dc0848cab44dacc18be2 (patch)
tree15e56ba66c68bf7b4594e6c9fdef44e037b4be31 /recipes/mstodo
parentRemove deprecated webPreference flag (diff)
downloadferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.tar.gz
ferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.tar.zst
ferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.zip
Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2)
Diffstat (limited to 'recipes/mstodo')
-rw-r--r--recipes/mstodo/index.js2
-rw-r--r--recipes/mstodo/package.json2
-rw-r--r--recipes/mstodo/webview.js10
3 files changed, 7 insertions, 7 deletions
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 @@
1{ 1{
2 "id": "mstodo", 2 "id": "mstodo",
3 "name": "Microsoft To Do", 3 "name": "Microsoft To Do",
4 "version": "1.1.1", 4 "version": "1.2.0",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://to-do.live.com/tasks/", 7 "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'));
2 2
3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
4 4
5module.exports = Ferdi => { 5module.exports = Ferdium => {
6 const getMessages = () => { 6 const getMessages = () => {
7 const elements = document.querySelectorAll('.taskItem'); 7 const elements = document.querySelectorAll('.taskItem');
8 let count = 0; 8 let count = 0;
@@ -13,11 +13,11 @@ module.exports = Ferdi => {
13 } 13 }
14 } 14 }
15 15
16 // set Ferdi badge 16 // set Ferdium badge
17 Ferdi.setBadge(count); 17 Ferdium.setBadge(count);
18 }; 18 };
19 19
20 Ferdi.loop(getMessages); 20 Ferdium.loop(getMessages);
21 21
22 Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); 22 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
23}; 23};