diff options
Diffstat (limited to 'recipes/nextcloud-carnet')
-rw-r--r-- | recipes/nextcloud-carnet/index.js | 2 | ||||
-rw-r--r-- | recipes/nextcloud-carnet/package.json | 2 | ||||
-rw-r--r-- | recipes/nextcloud-carnet/webview.js | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/recipes/nextcloud-carnet/index.js b/recipes/nextcloud-carnet/index.js index d983e26..f684bbd 100644 --- a/recipes/nextcloud-carnet/index.js +++ b/recipes/nextcloud-carnet/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/carnet/`; | 3 | return `${url}/apps/carnet/`; |
4 | } | 4 | } |
diff --git a/recipes/nextcloud-carnet/package.json b/recipes/nextcloud-carnet/package.json index 6d59dc8..82c1eb7 100644 --- a/recipes/nextcloud-carnet/package.json +++ b/recipes/nextcloud-carnet/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "nextcloud-carnet", | 2 | "id": "nextcloud-carnet", |
3 | "name": "Carnet (Nextcloud)", | 3 | "name": "Carnet (Nextcloud)", |
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-carnet", | 6 | "repository": "https://github.com/eandersons/ferdi-recipe-nextcloud-carnet", |
7 | "config": { | 7 | "config": { |
diff --git a/recipes/nextcloud-carnet/webview.js b/recipes/nextcloud-carnet/webview.js index cecd453..e9e6433 100644 --- a/recipes/nextcloud-carnet/webview.js +++ b/recipes/nextcloud-carnet/webview.js | |||
@@ -2,7 +2,7 @@ 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 | '.app-navigation-entry-utils-counter.highlighted', | 8 | '.app-navigation-entry-utils-counter.highlighted', |
@@ -11,10 +11,10 @@ module.exports = Ferdi => { | |||
11 | '.app-navigation-entry-utils-counter:not(.highlighted)', | 11 | '.app-navigation-entry-utils-counter:not(.highlighted)', |
12 | ).length; | 12 | ).length; |
13 | 13 | ||
14 | Ferdi.setBadge(direct, indirect); | 14 | Ferdium.setBadge(direct, indirect); |
15 | }; | 15 | }; |
16 | 16 | ||
17 | Ferdi.loop(getMessages); | 17 | Ferdium.loop(getMessages); |
18 | 18 | ||
19 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | 19 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); |
20 | }; | 20 | }; |