diff options
Diffstat (limited to 'recipes/trello/webview.js')
-rw-r--r-- | recipes/trello/webview.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes/trello/webview.js b/recipes/trello/webview.js index 3207890..a1d1f9b 100644 --- a/recipes/trello/webview.js +++ b/recipes/trello/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 => { | 7 | module.exports = Ferdium => { |
2 | const getMessages = () => { | 8 | const getMessages = () => { |
3 | const notifications = document.querySelectorAll('[class*=_3W-zkl4-bnVKzJ]'); | 9 | const notifications = document.querySelectorAll('[class*=_3W-zkl4-bnVKzJ]'); |
@@ -5,4 +11,6 @@ module.exports = Ferdium => { | |||
5 | }; | 11 | }; |
6 | 12 | ||
7 | Ferdium.loop(getMessages); | 13 | Ferdium.loop(getMessages); |
14 | |||
15 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
8 | }; | 16 | }; |