diff options
Diffstat (limited to 'uncompressed/nextdoor')
-rw-r--r-- | uncompressed/nextdoor/README.md | 9 | ||||
-rw-r--r-- | uncompressed/nextdoor/icon.png | bin | 14617 -> 0 bytes | |||
-rw-r--r-- | uncompressed/nextdoor/icon.svg | 1 | ||||
-rw-r--r-- | uncompressed/nextdoor/index.js | 3 | ||||
-rw-r--r-- | uncompressed/nextdoor/package.json | 14 | ||||
-rw-r--r-- | uncompressed/nextdoor/webview.js | 14 |
6 files changed, 0 insertions, 41 deletions
diff --git a/uncompressed/nextdoor/README.md b/uncompressed/nextdoor/README.md deleted file mode 100644 index f1fec15..0000000 --- a/uncompressed/nextdoor/README.md +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | # Nextdoor for Ferdi | ||
2 | This is the unofficial Ferdi recipe for Nextdoor | ||
3 | |||
4 | ### Release notes | ||
5 | 1.0.1: Fixes notification not disappearing. | ||
6 | 1.0.0: First version | ||
7 | |||
8 | ### How to create your own Ferdi recipes: | ||
9 | * [Read the documentation](https://github.com/getferdi/recipes/blob/master/docs/integration.md) \ No newline at end of file | ||
diff --git a/uncompressed/nextdoor/icon.png b/uncompressed/nextdoor/icon.png deleted file mode 100644 index 690e419..0000000 --- a/uncompressed/nextdoor/icon.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/uncompressed/nextdoor/icon.svg b/uncompressed/nextdoor/icon.svg deleted file mode 100644 index 9766fd0..0000000 --- a/uncompressed/nextdoor/icon.svg +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | <svg xmlns="http://www.w3.org/2000/svg" width="66px" height="52px" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 66 52" fill="#fff" fill-rule="evenodd" stroke="#000" stroke-linecap="round" stroke-linejoin="round"><use xlink:href="#A" x=".5" y=".5"/><symbol id="A" overflow="visible"><path d="M0 19.42a4.18 4.18 0 0 0 .82-.343l9.538-5.894a6.31 6.31 0 0 0 .477-.4V.134h10.168v6.524L32 0l32 19.6-5.265 8.622-5.475-3.338h-.172a.21.21 0 0 0 0 .114v25.58c-1.068.267-38.343.362-41.967.134v-.486q0-12.533 0-25.104l-.114-.23-5.76 3.32L3.1 24.8c-.916-1.488-1.908-2.976-2.766-4.464A1.91 1.91 0 0 0 0 19.934z" stroke="none" fill="#00b340" fill-rule="nonzero"/></symbol></svg> \ No newline at end of file | ||
diff --git a/uncompressed/nextdoor/index.js b/uncompressed/nextdoor/index.js deleted file mode 100644 index e8243fb..0000000 --- a/uncompressed/nextdoor/index.js +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | module.exports = Franz => Franz; \ No newline at end of file | ||
diff --git a/uncompressed/nextdoor/package.json b/uncompressed/nextdoor/package.json deleted file mode 100644 index 93dabb8..0000000 --- a/uncompressed/nextdoor/package.json +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | { | ||
2 | "id": "nextdoor", | ||
3 | "name": "Nextdoor", | ||
4 | "version": "1.0.1", | ||
5 | "description": "Nextdoor", | ||
6 | "main": "index.js", | ||
7 | "author": "Jake Lee <ferdi@jakelee.co.uk>", | ||
8 | "license": "MIT", | ||
9 | "config": { | ||
10 | "serviceURL": "https://nextdoor.co.uk/inbox/", | ||
11 | "hasTeamId": false, | ||
12 | "hasNotificationSound": false | ||
13 | } | ||
14 | } | ||
diff --git a/uncompressed/nextdoor/webview.js b/uncompressed/nextdoor/webview.js deleted file mode 100644 index e20c6b5..0000000 --- a/uncompressed/nextdoor/webview.js +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | module.exports = Franz => { | ||
4 | const getMessages = function getMessages() { | ||
5 | var unread = 0 | ||
6 | const notificationBadge = document.getElementsByClassName('notification-badge')[0] | ||
7 | if (notificationBadge != undefined) { | ||
8 | unread = notificationBadge.innerText; | ||
9 | } | ||
10 | Franz.setBadge(parseInt(unread, 10)); | ||
11 | }; | ||
12 | |||
13 | Franz.loop(getMessages); | ||
14 | }; \ No newline at end of file | ||