From 97697e3d069972844b2912a93022f4a4904a40d6 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sat, 31 Jul 2021 15:28:23 +0530 Subject: Fixed eslintrc as root for this folder; Reformatted all files. --- recipes/fleep/webview.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'recipes/fleep') diff --git a/recipes/fleep/webview.js b/recipes/fleep/webview.js index f3d765d..46fe2c5 100644 --- a/recipes/fleep/webview.js +++ b/recipes/fleep/webview.js @@ -1,13 +1,11 @@ -"use strict"; - -var _path = _interopRequireDefault(require("path")); +const _path = _interopRequireDefault(require('path')); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } module.exports = Ferdi => { const getMessages = function getMessages() { // Count number of conversations or teams with unread messages - let count = document.querySelectorAll(".unread-count").length; + const count = document.querySelectorAll('.unread-count').length; Ferdi.setBadge(count, 0); }; -- cgit v1.2.3-54-g00ecf