diff options
Diffstat (limited to 'recipes/nextdoor')
-rw-r--r-- | recipes/nextdoor/index.js | 2 | ||||
-rw-r--r-- | recipes/nextdoor/package.json | 2 | ||||
-rw-r--r-- | recipes/nextdoor/webview.js | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/recipes/nextdoor/index.js b/recipes/nextdoor/index.js index 258da41..23607bd 100644 --- a/recipes/nextdoor/index.js +++ b/recipes/nextdoor/index.js | |||
@@ -1 +1 @@ | |||
module.exports = Franz => Franz; | module.exports = Ferdi => Ferdi; | ||
diff --git a/recipes/nextdoor/package.json b/recipes/nextdoor/package.json index 86561c0..1e5c75a 100644 --- a/recipes/nextdoor/package.json +++ b/recipes/nextdoor/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "nextdoor", | 2 | "id": "nextdoor", |
3 | "name": "Nextdoor", | 3 | "name": "Nextdoor", |
4 | "version": "1.0.3", | 4 | "version": "1.1.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://nextdoor.co.uk/inbox/" | 7 | "serviceURL": "https://nextdoor.co.uk/inbox/" |
diff --git a/recipes/nextdoor/webview.js b/recipes/nextdoor/webview.js index 280d6a5..0ea8f57 100644 --- a/recipes/nextdoor/webview.js +++ b/recipes/nextdoor/webview.js | |||
@@ -1,12 +1,12 @@ | |||
1 | module.exports = Franz => { | 1 | module.exports = Ferdi => { |
2 | const getMessages = function getMessages() { | 2 | const getMessages = function getMessages() { |
3 | let unread = 0; | 3 | let unread = 0; |
4 | const notificationBadge = document.getElementsByClassName('notification-badge')[0]; | 4 | const notificationBadge = document.getElementsByClassName('notification-badge')[0]; |
5 | if (notificationBadge != undefined) { | 5 | if (notificationBadge != undefined) { |
6 | unread = notificationBadge.innerText; | 6 | unread = notificationBadge.innerText; |
7 | } | 7 | } |
8 | Franz.setBadge(parseInt(unread, 10)); | 8 | Ferdi.setBadge(parseInt(unread, 10)); |
9 | }; | 9 | }; |
10 | 10 | ||
11 | Franz.loop(getMessages); | 11 | Ferdi.loop(getMessages); |
12 | }; | 12 | }; |