diff options
Diffstat (limited to 'recipes/erepublik')
-rw-r--r-- | recipes/erepublik/package.json | 2 | ||||
-rw-r--r-- | recipes/erepublik/webview.js | 10 |
2 files changed, 8 insertions, 4 deletions
diff --git a/recipes/erepublik/package.json b/recipes/erepublik/package.json index 9e88f35..975583f 100644 --- a/recipes/erepublik/package.json +++ b/recipes/erepublik/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "erepublik", | 2 | "id": "erepublik", |
3 | "name": "eRepublik", | 3 | "name": "eRepublik", |
4 | "version": "1.2.0", | 4 | "version": "1.3.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://erepublik.com" | 7 | "serviceURL": "https://erepublik.com" |
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; |