diff options
Diffstat (limited to 'recipes/scrumpy')
-rw-r--r-- | recipes/scrumpy/package.json | 2 | ||||
-rw-r--r-- | recipes/scrumpy/webview.js | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/recipes/scrumpy/package.json b/recipes/scrumpy/package.json index c2383b7..cd64d5f 100644 --- a/recipes/scrumpy/package.json +++ b/recipes/scrumpy/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "scrumpy", | 2 | "id": "scrumpy", |
3 | "name": "Scrumpy", | 3 | "name": "Scrumpy", |
4 | "version": "1.1.0", | 4 | "version": "1.2.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "repository": "https://github.com/scrumpy/franz-recipe-scrumpy", | 6 | "repository": "https://github.com/scrumpy/franz-recipe-scrumpy", |
7 | "config": { | 7 | "config": { |
diff --git a/recipes/scrumpy/webview.js b/recipes/scrumpy/webview.js index 5037aee..89dd93b 100644 --- a/recipes/scrumpy/webview.js +++ b/recipes/scrumpy/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.querySelector( | 9 | const notifications = document.querySelector( |
@@ -9,4 +15,6 @@ module.exports = Ferdium => { | |||
9 | }; | 15 | }; |
10 | 16 | ||
11 | Ferdium.loop(getMessages); | 17 | Ferdium.loop(getMessages); |
18 | |||
19 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
12 | }; | 20 | }; |