1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 08:25:55 +00:00

fix various minor issues reported by eslint

This commit is contained in:
Andrew Dolgov
2020-06-04 23:27:22 +03:00
parent 755662a9d7
commit 88027d7a39
20 changed files with 115 additions and 74 deletions

View File

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