diff options
Diffstat (limited to 'recipes/meetup')
-rw-r--r-- | recipes/meetup/package.json | 2 | ||||
-rw-r--r-- | recipes/meetup/service.css | 1 | ||||
-rw-r--r-- | recipes/meetup/webview.js | 8 |
3 files changed, 1 insertions, 10 deletions
diff --git a/recipes/meetup/package.json b/recipes/meetup/package.json index 2b83402..f18c648 100644 --- a/recipes/meetup/package.json +++ b/recipes/meetup/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "meetup", | 2 | "id": "meetup", |
3 | "name": "Meetup", | 3 | "name": "Meetup", |
4 | "version": "1.0.0", | 4 | "version": "1.0.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://meetup.com", | 7 | "serviceURL": "https://meetup.com", |
diff --git a/recipes/meetup/service.css b/recipes/meetup/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/meetup/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/meetup/webview.js b/recipes/meetup/webview.js index b8ba1fa..5d45d55 100644 --- a/recipes/meetup/webview.js +++ b/recipes/meetup/webview.js | |||
@@ -1,9 +1,3 @@ | |||
1 | var _path = _interopRequireDefault(require("path")); | ||
2 | |||
3 | function _interopRequireDefault(obj) { | ||
4 | return obj && obj.__esModule ? obj : { default: obj }; | ||
5 | } | ||
6 | |||
7 | module.exports = (Ferdi) => { | 1 | module.exports = (Ferdi) => { |
8 | const getMessages = () => { | 2 | const getMessages = () => { |
9 | const hasNotifications = document.querySelector(".counterBadge"); | 3 | const hasNotifications = document.querySelector(".counterBadge"); |
@@ -11,6 +5,4 @@ module.exports = (Ferdi) => { | |||
11 | Ferdi.setBadge(0, hasNotifications ? 1 : 0); | 5 | Ferdi.setBadge(0, hasNotifications ? 1 : 0); |
12 | }; | 6 | }; |
13 | Ferdi.loop(getMessages); | 7 | Ferdi.loop(getMessages); |
14 | |||
15 | Ferdi.injectCSS(_path.default.join(__dirname, "service.css")); | ||
16 | }; | 8 | }; |