1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-23 05:51:28 +00:00

fix some minor linter problems

This commit is contained in:
Andrew Dolgov
2018-12-02 07:31:10 +03:00
parent 1e2d4410d3
commit e5f3b75540
3 changed files with 62 additions and 56 deletions

View File

@@ -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);