diff options
Diffstat (limited to 'recipes/stackexchange')
-rw-r--r-- | recipes/stackexchange/package.json | 2 | ||||
-rw-r--r-- | recipes/stackexchange/webview.js | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/recipes/stackexchange/package.json b/recipes/stackexchange/package.json index cb4442b..d3bba01 100644 --- a/recipes/stackexchange/package.json +++ b/recipes/stackexchange/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "stackexchange", | 2 | "id": "stackexchange", |
3 | "name": "StackExchange", | 3 | "name": "StackExchange", |
4 | "version": "1.0.2", | 4 | "version": "1.1.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://stackexchange.com/" | 7 | "serviceURL": "https://stackexchange.com/" |
diff --git a/recipes/stackexchange/webview.js b/recipes/stackexchange/webview.js index 3ad4701..10157e9 100644 --- a/recipes/stackexchange/webview.js +++ b/recipes/stackexchange/webview.js | |||
@@ -3,11 +3,5 @@ const _path = _interopRequireDefault(require('path')); | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | 3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
4 | 4 | ||
5 | module.exports = Ferdi => { | 5 | module.exports = Ferdi => { |
6 | const getMessages = function getMessages() { | ||
7 | // TODO: Insert your notification-finding code here | ||
8 | Ferdi.setBadge(0, 0); | ||
9 | }; | ||
10 | |||
11 | Ferdi.loop(getMessages); | ||
12 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | 6 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); |
13 | }; | 7 | }; |