diff options
Diffstat (limited to 'recipes/devRant/webview.js')
-rw-r--r-- | recipes/devRant/webview.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes/devRant/webview.js b/recipes/devRant/webview.js index efe0d71..1a5cbb8 100644 --- a/recipes/devRant/webview.js +++ b/recipes/devRant/webview.js | |||
@@ -1,9 +1,9 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | ||
2 | |||
3 | function _interopRequireDefault(obj) { | 1 | function _interopRequireDefault(obj) { |
4 | return obj && obj.__esModule ? obj : { default: obj }; | 2 | return obj && obj.__esModule ? obj : { default: obj }; |
5 | } | 3 | } |
6 | 4 | ||
5 | const _path = _interopRequireDefault(require('path')); | ||
6 | |||
7 | setTimeout(() => { | 7 | setTimeout(() => { |
8 | const elem = document.querySelector('.landing-title.version-title'); | 8 | const elem = document.querySelector('.landing-title.version-title'); |
9 | if ( | 9 | if ( |
@@ -45,5 +45,6 @@ module.exports = (Ferdium, settings) => { | |||
45 | }); | 45 | }); |
46 | 46 | ||
47 | Ferdium.loop(getMessages); | 47 | Ferdium.loop(getMessages); |
48 | |||
48 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | 49 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); |
49 | }; | 50 | }; |