aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/twitter-dm
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/twitter-dm')
-rw-r--r--recipes/twitter-dm/package.json2
-rw-r--r--recipes/twitter-dm/webview.js8
2 files changed, 9 insertions, 1 deletions
diff --git a/recipes/twitter-dm/package.json b/recipes/twitter-dm/package.json
index 208e82d..0548348 100644
--- a/recipes/twitter-dm/package.json
+++ b/recipes/twitter-dm/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "twitter-dm", 2 "id": "twitter-dm",
3 "name": "Twitter DM", 3 "name": "Twitter DM",
4 "version": "1.2.0", 4 "version": "1.3.0",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://mobile.twitter.com/messages", 7 "serviceURL": "https://mobile.twitter.com/messages",
diff --git a/recipes/twitter-dm/webview.js b/recipes/twitter-dm/webview.js
index e8f7dd1..c29d264 100644
--- a/recipes/twitter-dm/webview.js
+++ b/recipes/twitter-dm/webview.js
@@ -1,3 +1,9 @@
1function _interopRequireDefault(obj) {
2 return obj && obj.__esModule ? obj : { default: obj };
3}
4
5const _path = _interopRequireDefault(require('path'));
6
1module.exports = Ferdium => { 7module.exports = Ferdium => {
2 const getMessages = () => { 8 const getMessages = () => {
3 let count = 0; 9 let count = 0;
@@ -10,4 +16,6 @@ module.exports = Ferdium => {
10 }; 16 };
11 17
12 Ferdium.loop(getMessages); 18 Ferdium.loop(getMessages);
19
20 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
13}; 21};