From d01ad09800b67d2c83e2707188c8e5c58991db1e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 5 Jun 2020 07:44:57 +0300 Subject: eslint-related fixes; move a few things from global context to App --- js/CommonFilters.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'js/CommonFilters.js') diff --git a/js/CommonFilters.js b/js/CommonFilters.js index c34380526..9676abe9e 100644 --- a/js/CommonFilters.js +++ b/js/CommonFilters.js @@ -1,7 +1,7 @@ 'use strict' -/* global __, ngettext, App, Article, Lists */ -/* global xhrPost, xhrJson, dojo, dijit, Notify, $$, Feeds */ +/* global __, App, Article, Lists, Effect */ +/* global xhrPost, dojo, dijit, Notify, $$, Feeds */ const Filters = { filterDlgCheckAction: function(sender) { @@ -337,6 +337,7 @@ const Filters = { }); if (!App.isPrefs()) { + /* global getSelectionText */ const selectedText = getSelectionText(); const lh = dojo.connect(dialog, "onLoad", function () { -- cgit v1.2.3