aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mailbox.org
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mailbox.org')
-rw-r--r--recipes/mailbox.org/package.json2
-rw-r--r--recipes/mailbox.org/webview.js10
2 files changed, 10 insertions, 2 deletions
diff --git a/recipes/mailbox.org/package.json b/recipes/mailbox.org/package.json
index 5d320d7..d7c2851 100644
--- a/recipes/mailbox.org/package.json
+++ b/recipes/mailbox.org/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "mailbox.org", 2 "id": "mailbox.org",
3 "name": "Mailbox.org", 3 "name": "Mailbox.org",
4 "version": "1.4.0", 4 "version": "1.5.0",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://office.mailbox.org/appsuite/#!!&app=io.ox/portal" 7 "serviceURL": "https://office.mailbox.org/appsuite/#!!&app=io.ox/portal"
diff --git a/recipes/mailbox.org/webview.js b/recipes/mailbox.org/webview.js
index 68ab707..889f6c4 100644
--- a/recipes/mailbox.org/webview.js
+++ b/recipes/mailbox.org/webview.js
@@ -1,4 +1,10 @@
1module.exports = (Ferdium) => { 1function _interopRequireDefault(obj) {
2 return obj && obj.__esModule ? obj : { default: obj };
3}
4
5const _path = _interopRequireDefault(require('path'));
6
7module.exports = Ferdium => {
2 const getMessages = () => { 8 const getMessages = () => {
3 const count = document.querySelectorAll('.new-item').length; 9 const count = document.querySelectorAll('.new-item').length;
4 10
@@ -6,4 +12,6 @@ module.exports = (Ferdium) => {
6 }; 12 };
7 13
8 Ferdium.loop(getMessages); 14 Ferdium.loop(getMessages);
15
16 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
9}; 17};