From e5f3b755405ebf191835b449d08a2a8ac7dfebfb Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 2 Dec 2018 07:31:10 +0300 Subject: fix some minor linter problems --- js/feedlist.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'js/feedlist.js') diff --git a/js/feedlist.js b/js/feedlist.js index 33b5806e5..53274b8ba 100644 --- a/js/feedlist.js +++ b/js/feedlist.js @@ -1,4 +1,4 @@ -/* global notify,__,dijit */ +/* global notify,__,dijit,fox */ const Feeds = { counters_last_request: 0, @@ -155,6 +155,7 @@ const Feeds = { url: "backend.php?op=pref_feeds&method=getfeedtree&mode=2" }); + // noinspection JSUnresolvedFunction const treeModel = new fox.FeedStoreModel({ store: store, query: { @@ -165,9 +166,10 @@ const Feeds = { childrenAttrs: ["items"] }); + // noinspection JSUnresolvedFunction const tree = new fox.FeedTree({ model: treeModel, - onClick: function (item, node) { + onClick: function (item/*, node*/) { const id = String(item.id); const is_cat = id.match("^CAT:"); const feed = id.substr(id.indexOf(":") + 1); -- cgit v1.2.3