aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/habitica/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/habitica/webview.js')
-rwxr-xr-xrecipes/habitica/webview.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes/habitica/webview.js b/recipes/habitica/webview.js
index 202822f..7e7abfd 100755
--- a/recipes/habitica/webview.js
+++ b/recipes/habitica/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 let count = 0; 9 let count = 0;
@@ -9,4 +15,6 @@ module.exports = Ferdium => {
9 }; 15 };
10 16
11 Ferdium.loop(getMessages); 17 Ferdium.loop(getMessages);
18
19 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
12}; 20};