From 88027d7a3913872c16f42cb9d9d713aa994eb034 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 4 Jun 2020 23:27:22 +0300 Subject: fix various minor issues reported by eslint --- js/Feeds.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'js/Feeds.js') diff --git a/js/Feeds.js b/js/Feeds.js index 9d6dd307c..9b8685a25 100644 --- a/js/Feeds.js +++ b/js/Feeds.js @@ -1,5 +1,6 @@ 'use strict' -/* global __, ngettext */ + +/* global __, ngettext, App, Headlines, xhrPost, dojo, dijit, Form, fox, PluginHost, Notify, $$ */ const Feeds = { counters_last_request: 0, @@ -207,6 +208,7 @@ const Feeds = { //document.onkeypress = (event) => { return App.hotkeyHandler(event) }; window.onresize = () => { Headlines.scrollHandler(); } + /* global hash_get */ const hash_feed_id = hash_get('f'); const hash_feed_is_cat = hash_get('c') == "1"; @@ -262,6 +264,7 @@ const Feeds = { setActive: function(id, is_cat) { console.log('setActive', id, is_cat); + /* global hash_set */ hash_set('f', id); hash_set('c', is_cat ? 1 : 0); -- cgit v1.2.3