From 155c4b832281348c16be1f4ef667e6e23dbf1bd8 Mon Sep 17 00:00:00 2001 From: Vijay Raghavan Aravamudhan Date: Fri, 27 Aug 2021 18:13:24 +0530 Subject: 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. --- recipes/office365-owa/index.js | 2 -- recipes/office365-owa/package.json | 2 +- recipes/office365-owa/webview.js | 1 + 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'recipes/office365-owa') diff --git a/recipes/office365-owa/index.js b/recipes/office365-owa/index.js index 5c59e64..89568a6 100644 --- a/recipes/office365-owa/index.js +++ b/recipes/office365-owa/index.js @@ -1,5 +1,3 @@ -const os = require('os'); - module.exports = Ferdi => class Outlook extends Ferdi { overrideUserAgent() { return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').trim(); diff --git a/recipes/office365-owa/package.json b/recipes/office365-owa/package.json index 3de926b..63e4a32 100644 --- a/recipes/office365-owa/package.json +++ b/recipes/office365-owa/package.json @@ -1,7 +1,7 @@ { "id": "office365-owa", "name": "Office 365 Outlook Web App", - "version": "1.2.2", + "version": "1.3.0", "license": "MIT", "config": { "serviceURL": "https://outlook.office365.com/mail/", diff --git a/recipes/office365-owa/webview.js b/recipes/office365-owa/webview.js index cb63219..123158e 100644 --- a/recipes/office365-owa/webview.js +++ b/recipes/office365-owa/webview.js @@ -28,5 +28,6 @@ module.exports = Ferdi => { Ferdi.setBadge(unreadMail); } + Ferdi.loop(getMessages); }; -- cgit v1.2.3-70-g09d2