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/protoncalendar/package.json | 2 +- recipes/protoncalendar/webview.js | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) (limited to 'recipes/protoncalendar') diff --git a/recipes/protoncalendar/package.json b/recipes/protoncalendar/package.json index c337398..9ddd612 100644 --- a/recipes/protoncalendar/package.json +++ b/recipes/protoncalendar/package.json @@ -1,7 +1,7 @@ { "id": "protoncalendar", "name": "ProtonCalendar", - "version": "1.0.1", + "version": "1.1.0", "license": "MIT", "config": { "serviceURL": "https://calendar.protonmail.com/" diff --git a/recipes/protoncalendar/webview.js b/recipes/protoncalendar/webview.js index ddd0b40..10157e9 100644 --- a/recipes/protoncalendar/webview.js +++ b/recipes/protoncalendar/webview.js @@ -1,15 +1,7 @@ -"use strict"; - -var _path = _interopRequireDefault(require("path")); +const _path = _interopRequireDefault(require('path')); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } module.exports = Ferdi => { - const getMessages = function getMessages() { - // TODO: Insert your notification-finding code here - Ferdi.setBadge(0, 0); - }; - - Ferdi.loop(getMessages); Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); }; -- cgit v1.2.3-70-g09d2