diff options
Diffstat (limited to 'recipes/office365-owa/webview.js')
-rw-r--r-- | recipes/office365-owa/webview.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes/office365-owa/webview.js b/recipes/office365-owa/webview.js index 9613636..5026249 100644 --- a/recipes/office365-owa/webview.js +++ b/recipes/office365-owa/webview.js | |||
@@ -1,3 +1,9 @@ | |||
1 | function _interopRequireDefault(obj) { | ||
2 | return obj && obj.__esModule ? obj : { default: obj }; | ||
3 | } | ||
4 | |||
5 | const _path = _interopRequireDefault(require('path')); | ||
6 | |||
1 | module.exports = (Ferdium, settings) => { | 7 | module.exports = (Ferdium, settings) => { |
2 | const collectCounts = selector => { | 8 | const collectCounts = selector => { |
3 | let unreadCount = 0; | 9 | let unreadCount = 0; |
@@ -36,4 +42,6 @@ module.exports = (Ferdium, settings) => { | |||
36 | Ferdium.setBadge(directUnreadCount, indirectUnreadCount); | 42 | Ferdium.setBadge(directUnreadCount, indirectUnreadCount); |
37 | }; | 43 | }; |
38 | Ferdium.loop(getMessages); | 44 | Ferdium.loop(getMessages); |
45 | |||
46 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
39 | }; | 47 | }; |