aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/dropbox
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/dropbox')
-rw-r--r--recipes/dropbox/package.json2
-rw-r--r--recipes/dropbox/service.css1
-rw-r--r--recipes/dropbox/webview.js8
3 files changed, 1 insertions, 10 deletions
diff --git a/recipes/dropbox/package.json b/recipes/dropbox/package.json
index f8df28b..21736c3 100644
--- a/recipes/dropbox/package.json
+++ b/recipes/dropbox/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "dropbox", 2 "id": "dropbox",
3 "name": "Dropbox", 3 "name": "Dropbox",
4 "version": "1.0.0", 4 "version": "1.0.1",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://www.dropbox.com/home", 7 "serviceURL": "https://www.dropbox.com/home",
diff --git a/recipes/dropbox/service.css b/recipes/dropbox/service.css
deleted file mode 100644
index 38dcab0..0000000
--- a/recipes/dropbox/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/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};