diff options
Diffstat (limited to 'uncompressed')
-rw-r--r-- | uncompressed/github/package.json | 7 | ||||
-rw-r--r-- | uncompressed/github/webview.js | 8 |
2 files changed, 13 insertions, 2 deletions
diff --git a/uncompressed/github/package.json b/uncompressed/github/package.json index b9e329c..ca82897 100644 --- a/uncompressed/github/package.json +++ b/uncompressed/github/package.json | |||
@@ -1,12 +1,15 @@ | |||
1 | { | 1 | { |
2 | "id": "github", | 2 | "id": "github", |
3 | "name": "GitHub", | 3 | "name": "GitHub", |
4 | "version": "1.0.1", | 4 | "version": "1.0.3", |
5 | "description": "GitHub", | 5 | "description": "GitHub", |
6 | "main": "index.js", | 6 | "main": "index.js", |
7 | "author": "Sudhir Ganesan", | 7 | "author": "Sudhir Ganesan", |
8 | "license": "MIT", | 8 | "license": "MIT", |
9 | "config": { | 9 | "config": { |
10 | "serviceURL": "https://github.com/" | 10 | "serviceURL": "https://github.com/", |
11 | "hasNotificationSound": false, | ||
12 | "hasDirectMessages": false, | ||
13 | "hasIndirectMessages": true | ||
11 | } | 14 | } |
12 | } | 15 | } |
diff --git a/uncompressed/github/webview.js b/uncompressed/github/webview.js index 0cd6361..0543d1f 100644 --- a/uncompressed/github/webview.js +++ b/uncompressed/github/webview.js | |||
@@ -1,2 +1,10 @@ | |||
1 | "use strict"; | 1 | "use strict"; |
2 | |||
3 | module.exports = Franz => { | ||
4 | const getMessages = function getMessages() { | ||
5 | Franz.setBadge(document.querySelector('[class*="mail-status unread"]') !== null ? 1 : 0); | ||
6 | }; | ||
7 | |||
8 | Franz.loop(0, getMessages); | ||
9 | } | ||
2 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJnaXRodWIvd2Vidmlldy5qcyIsInNvdXJjZXNDb250ZW50IjpbXX0= \ No newline at end of file | 10 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJnaXRodWIvd2Vidmlldy5qcyIsInNvdXJjZXNDb250ZW50IjpbXX0= \ No newline at end of file |