diff options
author | Andrew Dolgov <[email protected]> | 2021-03-06 22:41:46 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-03-06 22:41:46 +0300 |
commit | 1d9fa2a42e2cad9ea76ad22edf8919942c853be1 (patch) | |
tree | 19f82a883aebd76871d94c81692a26f8aad3d73a /js/tt-rss.js | |
parent | 7b0b5b55c7a7e0f5e5f63083a5131ea85109bbec (diff) |
reduce overhead in hash set/get
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r-- | js/tt-rss.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js index 4a7f2e643..10fafc447 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -69,15 +69,3 @@ require(["dojo/_base/kernel", }); }); -/* exported hash_get */ -function hash_get(key) { - const obj = dojo.queryToObject(window.location.hash.substring(1)); - return obj[key]; -} - -/* exported hash_set */ -function hash_set(key, value) { - const obj = dojo.queryToObject(window.location.hash.substring(1)); - obj[key] = value; - window.location.hash = dojo.objectToQuery(obj); -} |