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 | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/recipes/nextcloud-calendar/index.js b/recipes/nextcloud-calendar/index.js index 972816c..8d77048 100644 --- a/recipes/nextcloud-calendar/index.js +++ b/recipes/nextcloud-calendar/index.js | |||
@@ -1,4 +1,4 @@ | |||
1 | module.exports = Ferdi => class NextcloudCarnet extends Ferdi { | 1 | module.exports = Ferdium => class NextcloudCarnet extends Ferdium { |
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 6783f7b..fa8b3d9 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.1.1", | 4 | "version": "1.2.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 2d932c0..84c55f2 100644 --- a/recipes/nextcloud-calendar/webview.js +++ b/recipes/nextcloud-calendar/webview.js | |||
@@ -2,16 +2,16 @@ const _path = _interopRequireDefault(require('path')); | |||
2 | 2 | ||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | 3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
4 | 4 | ||
5 | module.exports = Ferdi => { | 5 | module.exports = Ferdium => { |
6 | const getMessages = () => { | 6 | const getMessages = () => { |
7 | const direct = document.querySelectorAll( | 7 | const direct = document.querySelectorAll( |
8 | '.notifications .notification-wrapper .notification[object_type="dav"]', | 8 | '.notifications .notification-wrapper .notification[object_type="dav"]', |
9 | ).length; | 9 | ).length; |
10 | 10 | ||
11 | Ferdi.setBadge(direct); | 11 | Ferdium.setBadge(direct); |
12 | }; | 12 | }; |
13 | 13 | ||
14 | Ferdi.loop(getMessages); | 14 | Ferdium.loop(getMessages); |
15 | 15 | ||
16 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | 16 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); |
17 | }; | 17 | }; |