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/tt-rss.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'js/tt-rss.js') diff --git a/js/tt-rss.js b/js/tt-rss.js index 503ebdac1..83c6681cd 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -1,6 +1,8 @@ 'use strict' -/* global dijit,__ */ +/* global require, App */ + +/* exported Plugins */ const Plugins = {}; require(["dojo/_base/kernel", @@ -65,11 +67,13 @@ require(["dojo/_base/kernel", }); }); +/* exported hash_get */ function hash_get(key) { const kv = window.location.hash.substring(1).toQueryParams(); return kv[key]; } +/* exported hash_set */ function hash_set(key, value) { const kv = window.location.hash.substring(1).toQueryParams(); kv[key] = value; -- cgit v1.2.3