aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/protoncalendar
diff options
context:
space:
mode:
authorLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-08-27 18:13:24 +0530
committerLibravatar GitHub <noreply@github.com>2021-08-27 18:13:24 +0530
commit155c4b832281348c16be1f4ef667e6e23dbf1bd8 (patch)
treed144e2de2e6c7fb2e334246e8a4aecdbeb08ef8d /recipes/protoncalendar
parentdocs: fixed template file for creating recipe. (diff)
downloadferdium-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/protoncalendar')
-rw-r--r--recipes/protoncalendar/package.json2
-rw-r--r--recipes/protoncalendar/webview.js10
2 files changed, 2 insertions, 10 deletions
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 @@
1{ 1{
2 "id": "protoncalendar", 2 "id": "protoncalendar",
3 "name": "ProtonCalendar", 3 "name": "ProtonCalendar",
4 "version": "1.0.1", 4 "version": "1.1.0",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://calendar.protonmail.com/" 7 "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 @@
1"use strict"; 1const _path = _interopRequireDefault(require('path'));
2
3var _path = _interopRequireDefault(require("path"));
4 2
5function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
6 4
7module.exports = Ferdi => { 5module.exports = Ferdi => {
8 const getMessages = function getMessages() {
9 // TODO: Insert your notification-finding code here
10 Ferdi.setBadge(0, 0);
11 };
12
13 Ferdi.loop(getMessages);
14 Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); 6 Ferdi.injectCSS(_path.default.join(__dirname, 'service.css'));
15}; 7};