diff options
Diffstat (limited to 'recipes/erepublik/webview.js')
-rw-r--r-- | recipes/erepublik/webview.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/recipes/erepublik/webview.js b/recipes/erepublik/webview.js index 2f5bc9f..f2e2bde 100644 --- a/recipes/erepublik/webview.js +++ b/recipes/erepublik/webview.js | |||
@@ -1,11 +1,15 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | 1 | function _interopRequireDefault(obj) { |
2 | return obj && obj.__esModule ? obj : { default: obj }; | ||
3 | } | ||
2 | 4 | ||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | 5 | const _path = _interopRequireDefault(require('path')); |
4 | 6 | ||
5 | module.exports = Ferdium => { | 7 | module.exports = Ferdium => { |
6 | const getMessages = () => { | 8 | const getMessages = () => { |
7 | const elementNotify = document.querySelectorAll('.notify'); | 9 | const elementNotify = document.querySelectorAll('.notify'); |
8 | const elementFeed = document.querySelectorAll('.unreadCounter.ng-binding.ng-scope'); | 10 | const elementFeed = document.querySelectorAll( |
11 | '.unreadCounter.ng-binding.ng-scope', | ||
12 | ); | ||
9 | 13 | ||
10 | let countNotify = 0; | 14 | let countNotify = 0; |
11 | let countFeed = 0; | 15 | let countFeed = 0; |