summaryrefslogtreecommitdiff
path: root/js/tt-rss.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r--js/tt-rss.js6
1 files changed, 5 insertions, 1 deletions
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;