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/webview.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'recipes/protoncalendar/webview.js') 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