diff options
Diffstat (limited to 'recipes/stackoverflow-chat')
-rw-r--r-- | recipes/stackoverflow-chat/README.md | 2 | ||||
-rw-r--r-- | recipes/stackoverflow-chat/package.json | 2 | ||||
-rw-r--r-- | recipes/stackoverflow-chat/service.css | 1 | ||||
-rw-r--r-- | recipes/stackoverflow-chat/webview.js | 8 |
4 files changed, 1 insertions, 12 deletions
diff --git a/recipes/stackoverflow-chat/README.md b/recipes/stackoverflow-chat/README.md deleted file mode 100644 index a5aadcd..0000000 --- a/recipes/stackoverflow-chat/README.md +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | # stackoverflow-chat for Ferdi | ||
2 | This is a Ferdi recipe for stackoverflow-chat | ||
diff --git a/recipes/stackoverflow-chat/package.json b/recipes/stackoverflow-chat/package.json index 4cbddeb..81efd40 100644 --- a/recipes/stackoverflow-chat/package.json +++ b/recipes/stackoverflow-chat/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "stackoverflow-chat", | 2 | "id": "stackoverflow-chat", |
3 | "name": "Stackoverflow chat", | 3 | "name": "Stackoverflow chat", |
4 | "version": "1.0.1", | 4 | "version": "1.0.2", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://chat.stackoverflow.com/", | 7 | "serviceURL": "https://chat.stackoverflow.com/", |
diff --git a/recipes/stackoverflow-chat/service.css b/recipes/stackoverflow-chat/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/stackoverflow-chat/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/stackoverflow-chat/webview.js b/recipes/stackoverflow-chat/webview.js index 4157600..622d764 100644 --- a/recipes/stackoverflow-chat/webview.js +++ b/recipes/stackoverflow-chat/webview.js | |||
@@ -1,9 +1,3 @@ | |||
1 | var _path = _interopRequireDefault(require('path')); | ||
2 | |||
3 | function _interopRequireDefault(obj) { | ||
4 | return obj && obj.__esModule ? obj : { default: obj }; | ||
5 | } | ||
6 | |||
7 | module.exports = Ferdi => { | 1 | module.exports = Ferdi => { |
8 | const getMessages = () => { | 2 | const getMessages = () => { |
9 | const unreadSpan = document.querySelector( | 3 | const unreadSpan = document.querySelector( |
@@ -16,6 +10,4 @@ module.exports = Ferdi => { | |||
16 | Ferdi.setBadge(directCount); | 10 | Ferdi.setBadge(directCount); |
17 | }; | 11 | }; |
18 | Ferdi.loop(getMessages); | 12 | Ferdi.loop(getMessages); |
19 | |||
20 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
21 | }; | 13 | }; |