From 155c4b832281348c16be1f4ef667e6e23dbf1bd8 Mon Sep 17 00:00:00 2001 From: Vijay Raghavan Aravamudhan Date: Fri, 27 Aug 2021 18:13:24 +0530 Subject: chore: normalized all recipes to ensure compatibility with es6 (#639) - Removed some calls to set badge with '0' all the time. - Removed all 'sourceMaps' since they are all outdated atm. --- recipes/erepublik/webview.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'recipes/erepublik/webview.js') diff --git a/recipes/erepublik/webview.js b/recipes/erepublik/webview.js index ebd3743..3056d1b 100644 --- a/recipes/erepublik/webview.js +++ b/recipes/erepublik/webview.js @@ -1,8 +1,6 @@ const _path = _interopRequireDefault(require('path')); -function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; -} +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } module.exports = Ferdi => { const getMessages = function getMessages() { @@ -32,6 +30,7 @@ module.exports = Ferdi => { }; Ferdi.loop(getMessages); + Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); Ferdi.injectCSS(_path.default.join(__dirname, 'crpk-resources/fonts.css')); }; -- cgit v1.2.3-70-g09d2