aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/fastmail
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/fastmail
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/fastmail')
-rw-r--r--recipes/fastmail/index.js2
-rw-r--r--recipes/fastmail/package.json2
-rw-r--r--recipes/fastmail/webview.js10
3 files changed, 7 insertions, 7 deletions
diff --git a/recipes/fastmail/index.js b/recipes/fastmail/index.js
index 23607bd..dd41f72 100644
--- a/recipes/fastmail/index.js
+++ b/recipes/fastmail/index.js
@@ -1 +1 @@
module.exports = Ferdi => Ferdi; module.exports = Ferdium => Ferdium;
diff --git a/recipes/fastmail/package.json b/recipes/fastmail/package.json
index 91856d6..425fb6b 100644
--- a/recipes/fastmail/package.json
+++ b/recipes/fastmail/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "fastmail", 2 "id": "fastmail",
3 "name": "FastMail", 3 "name": "FastMail",
4 "version": "2.2.0", 4 "version": "2.3.0",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://www.fastmail.com/mail/", 7 "serviceURL": "https://www.fastmail.com/mail/",
diff --git a/recipes/fastmail/webview.js b/recipes/fastmail/webview.js
index bcea4e7..81127fb 100644
--- a/recipes/fastmail/webview.js
+++ b/recipes/fastmail/webview.js
@@ -4,17 +4,17 @@ function _interopRequireDefault(obj) {
4 return obj && obj.__esModule ? obj : { default: obj }; 4 return obj && obj.__esModule ? obj : { default: obj };
5} 5}
6 6
7module.exports = Ferdi => { 7module.exports = Ferdium => {
8 const getMessages = () => { 8 const getMessages = () => {
9 const inbox = document.querySelector( 9 const inbox = document.querySelector(
10 '.v-MailboxSource--inbox .v-MailboxSource-badge', 10 '.v-MailboxSource--inbox .v-MailboxSource-badge',
11 ); 11 );
12 12
13 const messages = inbox ? Ferdi.safeParseInt(inbox.textContent) : 0; 13 const messages = inbox ? Ferdium.safeParseInt(inbox.textContent) : 0;
14 Ferdi.setBadge(messages); 14 Ferdium.setBadge(messages);
15 }; 15 };
16 16
17 Ferdi.loop(getMessages); 17 Ferdium.loop(getMessages);
18 18
19 Ferdi.injectJSUnsafe(_path.default.join(__dirname, 'webview-unsafe.js')); 19 Ferdium.injectJSUnsafe(_path.default.join(__dirname, 'webview-unsafe.js'));
20}; 20};