diff options
Diffstat (limited to 'recipes/simplenote')
-rw-r--r-- | recipes/simplenote/package.json | 2 | ||||
-rw-r--r-- | recipes/simplenote/webview.js | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/recipes/simplenote/package.json b/recipes/simplenote/package.json index 00e0fb0..13d3573 100644 --- a/recipes/simplenote/package.json +++ b/recipes/simplenote/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "simplenote", | 2 | "id": "simplenote", |
3 | "name": "Simplenote", | 3 | "name": "Simplenote", |
4 | "version": "1.2.0", | 4 | "version": "1.4.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://app.simplenote.com/" | 7 | "serviceURL": "https://app.simplenote.com/" |
diff --git a/recipes/simplenote/webview.js b/recipes/simplenote/webview.js index b4180e4..f09170c 100644 --- a/recipes/simplenote/webview.js +++ b/recipes/simplenote/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 count = 0; | 9 | let count = 0; |
@@ -19,4 +25,6 @@ module.exports = Ferdium => { | |||
19 | }; | 25 | }; |
20 | 26 | ||
21 | Ferdium.loop(getMessages); | 27 | Ferdium.loop(getMessages); |
28 | |||
29 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
22 | }; | 30 | }; |