diff options
Diffstat (limited to 'recipes/wrike')
-rw-r--r-- | recipes/wrike/index.js | 3 | ||||
-rw-r--r-- | recipes/wrike/package.json | 2 | ||||
-rw-r--r-- | recipes/wrike/webview.js | 6 |
3 files changed, 5 insertions, 6 deletions
diff --git a/recipes/wrike/index.js b/recipes/wrike/index.js index 46f936f..23607bd 100644 --- a/recipes/wrike/index.js +++ b/recipes/wrike/index.js | |||
@@ -1,2 +1 @@ | |||
1 | // just pass through Franz | module.exports = Ferdi => Ferdi; | |
2 | module.exports = Franz => Franz; | ||
diff --git a/recipes/wrike/package.json b/recipes/wrike/package.json index 0e93c58..3d151a3 100644 --- a/recipes/wrike/package.json +++ b/recipes/wrike/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "wrike", | 2 | "id": "wrike", |
3 | "name": "Wrike", | 3 | "name": "Wrike", |
4 | "version": "1.0.3", | 4 | "version": "1.1.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "repository": "https://github.com/koma-private/recipe-wrike", | 6 | "repository": "https://github.com/koma-private/recipe-wrike", |
7 | "config": { | 7 | "config": { |
diff --git a/recipes/wrike/webview.js b/recipes/wrike/webview.js index 359d93a..be80318 100644 --- a/recipes/wrike/webview.js +++ b/recipes/wrike/webview.js | |||
@@ -1,4 +1,4 @@ | |||
1 | module.exports = (Franz, options) => { | 1 | module.exports = (Ferdi) => { |
2 | function getMessages() { | 2 | function getMessages() { |
3 | let directCount = 0; | 3 | let directCount = 0; |
4 | const element = document.querySelector('.ws-navigation-button__indicator.ws-navigation-button-indicator'); | 4 | const element = document.querySelector('.ws-navigation-button__indicator.ws-navigation-button-indicator'); |
@@ -7,8 +7,8 @@ module.exports = (Franz, options) => { | |||
7 | directCount = parseInt(element.innerText); | 7 | directCount = parseInt(element.innerText); |
8 | } | 8 | } |
9 | 9 | ||
10 | Franz.setBadge(directCount); | 10 | Ferdi.setBadge(directCount); |
11 | } | 11 | } |
12 | 12 | ||
13 | Franz.loop(getMessages); | 13 | Ferdi.loop(getMessages); |
14 | }; | 14 | }; |