aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/nextcloud-calendar
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/nextcloud-calendar
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/nextcloud-calendar')
-rw-r--r--recipes/nextcloud-calendar/index.js2
-rw-r--r--recipes/nextcloud-calendar/package.json2
-rw-r--r--recipes/nextcloud-calendar/webview.js5
3 files changed, 4 insertions, 5 deletions
diff --git a/recipes/nextcloud-calendar/index.js b/recipes/nextcloud-calendar/index.js
index ba017dc..972816c 100644
--- a/recipes/nextcloud-calendar/index.js
+++ b/recipes/nextcloud-calendar/index.js
@@ -1,4 +1,4 @@
1module.exports = Franz => class NextcloudCarnet extends Franz { 1module.exports = Ferdi => class NextcloudCarnet extends Ferdi {
2 buildUrl(url) { 2 buildUrl(url) {
3 return `${url}/apps/calendar/`; 3 return `${url}/apps/calendar/`;
4 } 4 }
diff --git a/recipes/nextcloud-calendar/package.json b/recipes/nextcloud-calendar/package.json
index 75157cc..02218d9 100644
--- a/recipes/nextcloud-calendar/package.json
+++ b/recipes/nextcloud-calendar/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "nextcloud-calendar", 2 "id": "nextcloud-calendar",
3 "name": "Nextcloud Calendar", 3 "name": "Nextcloud Calendar",
4 "version": "1.0.4", 4 "version": "1.1.0",
5 "license": "MIT", 5 "license": "MIT",
6 "repository": "https://github.com/eandersons/ferdi-recipe-nextcloud-calendar", 6 "repository": "https://github.com/eandersons/ferdi-recipe-nextcloud-calendar",
7 "config": { 7 "config": {
diff --git a/recipes/nextcloud-calendar/webview.js b/recipes/nextcloud-calendar/webview.js
index 2affdbf..34efa7c 100644
--- a/recipes/nextcloud-calendar/webview.js
+++ b/recipes/nextcloud-calendar/webview.js
@@ -1,8 +1,6 @@
1const _path = _interopRequireDefault(require('path')); 1const _path = _interopRequireDefault(require('path'));
2 2
3function _interopRequireDefault(obj) { 3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
4 return obj && obj.__esModule ? obj : { default: obj };
5}
6 4
7module.exports = Ferdi => { 5module.exports = Ferdi => {
8 const getMessages = function getMessages() { 6 const getMessages = function getMessages() {
@@ -14,5 +12,6 @@ module.exports = Ferdi => {
14 }; 12 };
15 13
16 Ferdi.loop(getMessages); 14 Ferdi.loop(getMessages);
15
17 Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); 16 Ferdi.injectCSS(_path.default.join(__dirname, 'service.css'));
18}; 17};