diff options
Diffstat (limited to 'recipes/github')
-rw-r--r-- | recipes/github/index.js | 3 | ||||
-rw-r--r-- | recipes/github/package.json | 2 | ||||
-rw-r--r-- | recipes/github/webview.js | 7 |
3 files changed, 5 insertions, 7 deletions
diff --git a/recipes/github/index.js b/recipes/github/index.js index 6889e69..23607bd 100644 --- a/recipes/github/index.js +++ b/recipes/github/index.js | |||
@@ -1,2 +1 @@ | |||
1 | module.exports = Franz => Franz; | module.exports = Ferdi => Ferdi; | |
2 | // # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdpdGh1Yi9pbmRleC5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiXSwibWFwcGluZ3MiOiI7O0FBQUFBLE9BQU9DLE9BQVAsR0FBaUJDLFNBQVNBLEtBQTFCIiwiZmlsZSI6ImdpdGh1Yi9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gRnJhbnogPT4gRnJhbno7XG4iXX0= | ||
diff --git a/recipes/github/package.json b/recipes/github/package.json index 49d18d8..4454c97 100644 --- a/recipes/github/package.json +++ b/recipes/github/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "github", | 2 | "id": "github", |
3 | "name": "GitHub", | 3 | "name": "GitHub", |
4 | "version": "2.0.2", | 4 | "version": "2.1.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://github.com/notifications", | 7 | "serviceURL": "https://github.com/notifications", |
diff --git a/recipes/github/webview.js b/recipes/github/webview.js index 3b5a286..9f35b5e 100644 --- a/recipes/github/webview.js +++ b/recipes/github/webview.js | |||
@@ -1,4 +1,4 @@ | |||
1 | module.exports = Franz => { | 1 | module.exports = Ferdi => { |
2 | const getMessages = function getMessages() { | 2 | const getMessages = function getMessages() { |
3 | const directCountElement = document.querySelector('.filter-list .count'); | 3 | const directCountElement = document.querySelector('.filter-list .count'); |
4 | const indirectCountElement = document.querySelector('[class*="mail-status unread"]'); | 4 | const indirectCountElement = document.querySelector('[class*="mail-status unread"]'); |
@@ -9,9 +9,8 @@ module.exports = Franz => { | |||
9 | } else if (indirectCountElement) { | 9 | } else if (indirectCountElement) { |
10 | indirectCount = 1; | 10 | indirectCount = 1; |
11 | } | 11 | } |
12 | Franz.setBadge(directCount, indirectCount); | 12 | Ferdi.setBadge(directCount, indirectCount); |
13 | }; | 13 | }; |
14 | 14 | ||
15 | Franz.loop(getMessages); | 15 | Ferdi.loop(getMessages); |
16 | }; | 16 | }; |
17 | // # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJnaXRodWIvd2Vidmlldy5qcyIsInNvdXJjZXNDb250ZW50IjpbXX0= | ||