aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/youtrack
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/youtrack')
-rw-r--r--recipes/youtrack/package.json2
-rw-r--r--recipes/youtrack/webview.js8
2 files changed, 9 insertions, 1 deletions
diff --git a/recipes/youtrack/package.json b/recipes/youtrack/package.json
index 7e957ce..3317370 100644
--- a/recipes/youtrack/package.json
+++ b/recipes/youtrack/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "youtrack", 2 "id": "youtrack",
3 "name": "YouTrack", 3 "name": "YouTrack",
4 "version": "1.3.0", 4 "version": "1.4.0",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://{teamId}.myjetbrains.com/youtrack/", 7 "serviceURL": "https://{teamId}.myjetbrains.com/youtrack/",
diff --git a/recipes/youtrack/webview.js b/recipes/youtrack/webview.js
index 0013bf0..214287c 100644
--- a/recipes/youtrack/webview.js
+++ b/recipes/youtrack/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 const getMessages = () => { 8 const getMessages = () => {
3 const unread = document.querySelectorAll('.header__bell-wrapper_unread'); 9 const unread = document.querySelectorAll('.header__bell-wrapper_unread');
@@ -5,4 +11,6 @@ module.exports = Ferdium => {
5 }; 11 };
6 12
7 Ferdium.loop(getMessages); 13 Ferdium.loop(getMessages);
14
15 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
8}; 16};