aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/todoist
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/todoist')
-rw-r--r--recipes/todoist/package.json2
-rw-r--r--recipes/todoist/webview.js8
2 files changed, 9 insertions, 1 deletions
diff --git a/recipes/todoist/package.json b/recipes/todoist/package.json
index 34aa90f..1a06223 100644
--- a/recipes/todoist/package.json
+++ b/recipes/todoist/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "todoist", 2 "id": "todoist",
3 "name": "Todoist", 3 "name": "Todoist",
4 "version": "1.4.0", 4 "version": "1.5.0",
5 "license": "MIT", 5 "license": "MIT",
6 "repository": "https://github.com/meetfranz/recipe-todoist", 6 "repository": "https://github.com/meetfranz/recipe-todoist",
7 "config": { 7 "config": {
diff --git a/recipes/todoist/webview.js b/recipes/todoist/webview.js
index 27b77ad..32dc1f2 100644
--- a/recipes/todoist/webview.js
+++ b/recipes/todoist/webview.js
@@ -1,3 +1,9 @@
1function _interopRequireDefault(obj) {
2 return obj && obj.__esModule ? obj : { default: obj };
3}
4
5const _path = _interopRequireDefault(require('path'));
6
1module.exports = Ferdium => { 7module.exports = Ferdium => {
2 function getTasks() { 8 function getTasks() {
3 let todayCount = 0; 9 let todayCount = 0;
@@ -17,4 +23,6 @@ module.exports = Ferdium => {
17 } 23 }
18 24
19 Ferdium.loop(getTasks); 25 Ferdium.loop(getTasks);
26
27 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
20}; 28};