aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/erepublik/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/erepublik/webview.js')
-rw-r--r--recipes/erepublik/webview.js10
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 @@
1const _path = _interopRequireDefault(require('path')); 1function _interopRequireDefault(obj) {
2 return obj && obj.__esModule ? obj : { default: obj };
3}
2 4
3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 5const _path = _interopRequireDefault(require('path'));
4 6
5module.exports = Ferdium => { 7module.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;