diff options
Diffstat (limited to 'recipes/plek')
-rw-r--r-- | recipes/plek/package.json | 2 | ||||
-rw-r--r-- | recipes/plek/webview.js | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/recipes/plek/package.json b/recipes/plek/package.json index 815b34e..9f99186 100644 --- a/recipes/plek/package.json +++ b/recipes/plek/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "plek", | 2 | "id": "plek", |
3 | "name": "Plek", | 3 | "name": "Plek", |
4 | "version": "1.1.0", | 4 | "version": "1.2.0", |
5 | "repository": "https://github.com/jsimonetti/franz-recipe-plek", | 5 | "repository": "https://github.com/jsimonetti/franz-recipe-plek", |
6 | "license": "MIT", | 6 | "license": "MIT", |
7 | "config": { | 7 | "config": { |
diff --git a/recipes/plek/webview.js b/recipes/plek/webview.js index bf3579e..0f6396b 100644 --- a/recipes/plek/webview.js +++ b/recipes/plek/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 directMessages = 0; | 9 | let directMessages = 0; |
@@ -17,4 +23,6 @@ module.exports = Ferdium => { | |||
17 | }; | 23 | }; |
18 | 24 | ||
19 | Ferdium.loop(getMessages); | 25 | Ferdium.loop(getMessages); |
26 | |||
27 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
20 | }; | 28 | }; |