aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/dropbox/webview.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2021-11-01 15:14:04 +0530
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2021-11-01 15:14:04 +0530
commit27ffda874e6808a7815ea7844355802afaad9599 (patch)
tree194011a66b86e3c603e964426c487813e62e943a /recipes/dropbox/webview.js
parentUse PascalCasing for generated backend API class name (#759) (diff)
downloadferdium-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/dropbox/webview.js')
-rw-r--r--recipes/dropbox/webview.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/recipes/dropbox/webview.js b/recipes/dropbox/webview.js
index 0cfbc7d..0740019 100644
--- a/recipes/dropbox/webview.js
+++ b/recipes/dropbox/webview.js
@@ -1,9 +1,3 @@
1var _path = _interopRequireDefault(require("path"));
2
3function _interopRequireDefault(obj) {
4 return obj && obj.__esModule ? obj : { default: obj };
5}
6
7module.exports = (Ferdi) => { 1module.exports = (Ferdi) => {
8 const getMessages = () => { 2 const getMessages = () => {
9 const hasNotifications = document.querySelector(".dig-NotificationBadge"); 3 const hasNotifications = document.querySelector(".dig-NotificationBadge");
@@ -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};