diff options
author | 2021-08-27 18:13:24 +0530 | |
---|---|---|
committer | 2021-08-27 18:13:24 +0530 | |
commit | 155c4b832281348c16be1f4ef667e6e23dbf1bd8 (patch) | |
tree | d144e2de2e6c7fb2e334246e8a4aecdbeb08ef8d /recipes/outlook | |
parent | docs: fixed template file for creating recipe. (diff) | |
download | ferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.tar.gz ferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.tar.zst ferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.zip |
chore: normalized all recipes to ensure compatibility with es6 (#639)
- Removed some calls to set badge with '0' all the time.
- Removed all 'sourceMaps' since they are all outdated atm.
Diffstat (limited to 'recipes/outlook')
-rw-r--r-- | recipes/outlook/index.js | 2 | ||||
-rw-r--r-- | recipes/outlook/package.json | 2 | ||||
-rw-r--r-- | recipes/outlook/webview.js | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/recipes/outlook/index.js b/recipes/outlook/index.js index 5c59e64..89568a6 100644 --- a/recipes/outlook/index.js +++ b/recipes/outlook/index.js | |||
@@ -1,5 +1,3 @@ | |||
1 | const os = require('os'); | ||
2 | |||
3 | module.exports = Ferdi => class Outlook extends Ferdi { | 1 | module.exports = Ferdi => class Outlook extends Ferdi { |
4 | overrideUserAgent() { | 2 | overrideUserAgent() { |
5 | return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').trim(); | 3 | return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').trim(); |
diff --git a/recipes/outlook/package.json b/recipes/outlook/package.json index f2224a0..103325b 100644 --- a/recipes/outlook/package.json +++ b/recipes/outlook/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "outlook", | 2 | "id": "outlook", |
3 | "name": "Outlook Web App", | 3 | "name": "Outlook Web App", |
4 | "version": "1.1.2", | 4 | "version": "1.2.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://outlook.live.com/mail/", | 7 | "serviceURL": "https://outlook.live.com/mail/", |
diff --git a/recipes/outlook/webview.js b/recipes/outlook/webview.js index cb63219..123158e 100644 --- a/recipes/outlook/webview.js +++ b/recipes/outlook/webview.js | |||
@@ -28,5 +28,6 @@ module.exports = Ferdi => { | |||
28 | 28 | ||
29 | Ferdi.setBadge(unreadMail); | 29 | Ferdi.setBadge(unreadMail); |
30 | } | 30 | } |
31 | |||
31 | Ferdi.loop(getMessages); | 32 | Ferdi.loop(getMessages); |
32 | }; | 33 | }; |