diff options
Diffstat (limited to 'recipes/stackoverflow-chat/webview.js')
-rw-r--r-- | recipes/stackoverflow-chat/webview.js | 8 |
1 files changed, 0 insertions, 8 deletions
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 | }; |