diff options
Diffstat (limited to 'recipes/clickup')
-rw-r--r-- | recipes/clickup/package.json | 2 | ||||
-rw-r--r-- | recipes/clickup/webview.js | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/recipes/clickup/package.json b/recipes/clickup/package.json index c55dc7b..db07055 100644 --- a/recipes/clickup/package.json +++ b/recipes/clickup/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "clickup", | 2 | "id": "clickup", |
3 | "name": "ClickUp", | 3 | "name": "ClickUp", |
4 | "version": "2.3.0", | 4 | "version": "2.4.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://app.clickup.com", | 7 | "serviceURL": "https://app.clickup.com", |
diff --git a/recipes/clickup/webview.js b/recipes/clickup/webview.js index 55ece28..2cc448e 100644 --- a/recipes/clickup/webview.js +++ b/recipes/clickup/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 unread = document.querySelector('.cu-notification-alert__dot'); | 9 | const unread = document.querySelector('.cu-notification-alert__dot'); |
@@ -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 | }; |