aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/monday
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/monday')
-rw-r--r--recipes/monday/index.js2
-rw-r--r--recipes/monday/package.json2
-rwxr-xr-xrecipes/monday/webview.js9
3 files changed, 7 insertions, 6 deletions
diff --git a/recipes/monday/index.js b/recipes/monday/index.js
index 258da41..23607bd 100644
--- a/recipes/monday/index.js
+++ b/recipes/monday/index.js
@@ -1 +1 @@
module.exports = Franz => Franz; module.exports = Ferdi => Ferdi;
diff --git a/recipes/monday/package.json b/recipes/monday/package.json
index 30436b6..35556a8 100644
--- a/recipes/monday/package.json
+++ b/recipes/monday/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "monday", 2 "id": "monday",
3 "name": "Monday", 3 "name": "Monday",
4 "version": "1.0.4", 4 "version": "1.1.0",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://{teamId}.monday.com", 7 "serviceURL": "https://{teamId}.monday.com",
diff --git a/recipes/monday/webview.js b/recipes/monday/webview.js
index e07e784..bdd73ca 100755
--- a/recipes/monday/webview.js
+++ b/recipes/monday/webview.js
@@ -2,7 +2,7 @@ const _path = _interopRequireDefault(require('path'));
2 2
3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
4 4
5module.exports = Franz => { 5module.exports = Ferdi => {
6 const getMessages = function getMessages() { 6 const getMessages = function getMessages() {
7 let count = 0; 7 let count = 0;
8 8
@@ -12,9 +12,10 @@ module.exports = Franz => {
12 count += parseInt(counters[i].textContent); 12 count += parseInt(counters[i].textContent);
13 } 13 }
14 14
15 Franz.setBadge(count); 15 Ferdi.setBadge(count);
16 }; 16 };
17 17
18 Franz.injectCSS(_path.default.join(__dirname, 'service.css')); 18 Ferdi.loop(getMessages);
19 Franz.loop(getMessages); 19
20 Ferdi.injectCSS(_path.default.join(__dirname, 'service.css'));
20}; 21};