diff options
Diffstat (limited to 'recipes/fastmail')
-rw-r--r-- | recipes/fastmail/index.js | 2 | ||||
-rw-r--r-- | recipes/fastmail/package.json | 2 | ||||
-rw-r--r-- | recipes/fastmail/webview.js | 10 |
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 | ||
7 | module.exports = Ferdi => { | 7 | module.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 | }; |