diff options
Diffstat (limited to 'recipes/nextcloud-calendar')
-rw-r--r-- | recipes/nextcloud-calendar/index.js | 2 | ||||
-rw-r--r-- | recipes/nextcloud-calendar/package.json | 2 | ||||
-rw-r--r-- | recipes/nextcloud-calendar/webview.js | 5 |
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 @@ | |||
1 | module.exports = Franz => class NextcloudCarnet extends Franz { | 1 | module.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 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | 1 | const _path = _interopRequireDefault(require('path')); |
2 | 2 | ||
3 | function _interopRequireDefault(obj) { | 3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
4 | return obj && obj.__esModule ? obj : { default: obj }; | ||
5 | } | ||
6 | 4 | ||
7 | module.exports = Ferdi => { | 5 | module.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 | }; |