diff options
Diffstat (limited to 'recipes/teamwork-projects')
-rw-r--r-- | recipes/teamwork-projects/package.json | 2 | ||||
-rw-r--r-- | recipes/teamwork-projects/webview.js | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/recipes/teamwork-projects/package.json b/recipes/teamwork-projects/package.json index 02e89b9..56ce605 100644 --- a/recipes/teamwork-projects/package.json +++ b/recipes/teamwork-projects/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "teamwork-projects", | 2 | "id": "teamwork-projects", |
3 | "name": "Teamwork Projects", | 3 | "name": "Teamwork Projects", |
4 | "version": "0.3.0", | 4 | "version": "0.4.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://{teamId}.teamwork.com/", | 7 | "serviceURL": "https://{teamId}.teamwork.com/", |
diff --git a/recipes/teamwork-projects/webview.js b/recipes/teamwork-projects/webview.js index ca3df22..fa885bb 100644 --- a/recipes/teamwork-projects/webview.js +++ b/recipes/teamwork-projects/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 | let indirectCount = 0; | 9 | let indirectCount = 0; |
@@ -11,4 +17,6 @@ module.exports = Ferdium => { | |||
11 | }; | 17 | }; |
12 | 18 | ||
13 | Ferdium.loop(getMessages); | 19 | Ferdium.loop(getMessages); |
20 | |||
21 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
14 | }; | 22 | }; |