diff options
Diffstat (limited to 'recipes/twitter')
-rw-r--r-- | recipes/twitter/package.json | 2 | ||||
-rw-r--r-- | recipes/twitter/webview.js | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/recipes/twitter/package.json b/recipes/twitter/package.json index 76e0ce0..4a1801f 100644 --- a/recipes/twitter/package.json +++ b/recipes/twitter/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "twitter", | 2 | "id": "twitter", |
3 | "name": "Twitter", | 3 | "name": "Twitter", |
4 | "version": "1.3.0", | 4 | "version": "1.4.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "repository": "https://github.com/ferdium/ferdium-recipes", | 6 | "repository": "https://github.com/ferdium/ferdium-recipes", |
7 | "config": { | 7 | "config": { |
diff --git a/recipes/twitter/webview.js b/recipes/twitter/webview.js index d8341e4..7a859dc 100644 --- a/recipes/twitter/webview.js +++ b/recipes/twitter/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 direct = 0; | 9 | let direct = 0; |
@@ -21,4 +27,6 @@ module.exports = Ferdium => { | |||
21 | }; | 27 | }; |
22 | 28 | ||
23 | Ferdium.loop(getMessages); | 29 | Ferdium.loop(getMessages); |
30 | |||
31 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
24 | }; | 32 | }; |