diff options
Diffstat (limited to 'recipes/simplenote/webview.js')
-rw-r--r-- | recipes/simplenote/webview.js | 8 |
1 files changed, 8 insertions, 0 deletions
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 | }; |