diff options
Diffstat (limited to 'recipes/disqus/webview.js')
-rw-r--r-- | recipes/disqus/webview.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes/disqus/webview.js b/recipes/disqus/webview.js index 2de4b43..ce8d79e 100644 --- a/recipes/disqus/webview.js +++ b/recipes/disqus/webview.js | |||
@@ -1,3 +1,9 @@ | |||
1 | function _interopRequireDefault(obj) { | ||
2 | return obj && obj.__esModule ? obj : { default: obj }; | ||
3 | } | ||
4 | |||
5 | const _path = _interopRequireDefault(require('path')); | ||
6 | |||
1 | module.exports = Ferdium => { | 7 | module.exports = Ferdium => { |
2 | const getInnerInt = selector => { | 8 | const getInnerInt = selector => { |
3 | const element = document.querySelector(selector); | 9 | const element = document.querySelector(selector); |
@@ -14,4 +20,6 @@ module.exports = Ferdium => { | |||
14 | }; | 20 | }; |
15 | 21 | ||
16 | Ferdium.loop(getMessages); | 22 | Ferdium.loop(getMessages); |
23 | |||
24 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
17 | }; | 25 | }; |