diff options
author | Andrew Dolgov <[email protected]> | 2020-06-05 07:44:57 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2020-06-05 07:44:57 +0300 |
commit | d01ad09800b67d2c83e2707188c8e5c58991db1e (patch) | |
tree | 8f3ab62784ae0f520c49c504720b24f406678ae7 /js/CommonFilters.js | |
parent | 88027d7a3913872c16f42cb9d9d713aa994eb034 (diff) |
eslint-related fixes; move a few things from global context to App
Diffstat (limited to 'js/CommonFilters.js')
-rw-r--r-- | js/CommonFilters.js | 5 |
1 files changed, 3 insertions, 2 deletions
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 () { |