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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user