diff options
author | 2021-11-01 15:14:04 +0530 | |
---|---|---|
committer | 2021-11-01 15:14:04 +0530 | |
commit | 27ffda874e6808a7815ea7844355802afaad9599 (patch) | |
tree | 194011a66b86e3c603e964426c487813e62e943a /recipes/meetup/webview.js | |
parent | Use PascalCasing for generated backend API class name (#759) (diff) | |
download | ferdium-recipes-27ffda874e6808a7815ea7844355802afaad9599.tar.gz ferdium-recipes-27ffda874e6808a7815ea7844355802afaad9599.tar.zst ferdium-recipes-27ffda874e6808a7815ea7844355802afaad9599.zip |
chore: remove empty 'service.css' from recipes. Remove 'README.md' from the creation script
Diffstat (limited to 'recipes/meetup/webview.js')
-rw-r--r-- | recipes/meetup/webview.js | 8 |
1 files changed, 0 insertions, 8 deletions
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 | }; |