diff options
Diffstat (limited to 'recipes/pipefy/webview.js')
-rw-r--r-- | recipes/pipefy/webview.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/recipes/pipefy/webview.js b/recipes/pipefy/webview.js index 48904e6..e0ac242 100644 --- a/recipes/pipefy/webview.js +++ b/recipes/pipefy/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 getNotificationButton = document.querySelector( | 3 | const getNotificationButton = document.querySelector( |
@@ -13,6 +7,4 @@ module.exports = Ferdi => { | |||
13 | Ferdi.setBadge(0, hasNotification ? 1 : 0); | 7 | Ferdi.setBadge(0, hasNotification ? 1 : 0); |
14 | }; | 8 | }; |
15 | Ferdi.loop(getMessages); | 9 | Ferdi.loop(getMessages); |
16 | |||
17 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
18 | }; | 10 | }; |